Class HDInsightSparkActivity


  • public class HDInsightSparkActivity
    extends ExecutionActivity
    HDInsight Spark activity.
    • Constructor Detail

      • HDInsightSparkActivity

        public HDInsightSparkActivity()
    • Method Detail

      • getRootPath

        public Object getRootPath()
        Get the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).
        Returns:
        the rootPath value.
      • setRootPath

        public HDInsightSparkActivity setRootPath​(Object rootPath)
        Set the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).
        Parameters:
        rootPath - the rootPath value to set.
        Returns:
        the HDInsightSparkActivity object itself.
      • getEntryFilePath

        public Object getEntryFilePath()
        Get the entryFilePath property: The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).
        Returns:
        the entryFilePath value.
      • setEntryFilePath

        public HDInsightSparkActivity setEntryFilePath​(Object entryFilePath)
        Set the entryFilePath property: The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).
        Parameters:
        entryFilePath - the entryFilePath value to set.
        Returns:
        the HDInsightSparkActivity object itself.
      • getArguments

        public List<Object> getArguments()
        Get the arguments property: The user-specified arguments to HDInsightSparkActivity.
        Returns:
        the arguments value.
      • setArguments

        public HDInsightSparkActivity setArguments​(List<Object> arguments)
        Set the arguments property: The user-specified arguments to HDInsightSparkActivity.
        Parameters:
        arguments - the arguments value to set.
        Returns:
        the HDInsightSparkActivity object itself.
      • getGetDebugInfo

        public HDInsightActivityDebugInfoOption getGetDebugInfo()
        Get the getDebugInfo property: Debug info option.
        Returns:
        the getDebugInfo value.
      • setGetDebugInfo

        public HDInsightSparkActivity setGetDebugInfo​(HDInsightActivityDebugInfoOption getDebugInfo)
        Set the getDebugInfo property: Debug info option.
        Parameters:
        getDebugInfo - the getDebugInfo value to set.
        Returns:
        the HDInsightSparkActivity object itself.
      • getSparkJobLinkedService

        public LinkedServiceReference getSparkJobLinkedService()
        Get the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.
        Returns:
        the sparkJobLinkedService value.
      • setSparkJobLinkedService

        public HDInsightSparkActivity setSparkJobLinkedService​(LinkedServiceReference sparkJobLinkedService)
        Set the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.
        Parameters:
        sparkJobLinkedService - the sparkJobLinkedService value to set.
        Returns:
        the HDInsightSparkActivity object itself.
      • getClassName

        public String getClassName()
        Get the className property: The application's Java/Spark main class.
        Returns:
        the className value.
      • setClassName

        public HDInsightSparkActivity setClassName​(String className)
        Set the className property: The application's Java/Spark main class.
        Parameters:
        className - the className value to set.
        Returns:
        the HDInsightSparkActivity object itself.
      • getProxyUser

        public Object getProxyUser()
        Get the proxyUser property: The user to impersonate that will execute the job. Type: string (or Expression with resultType string).
        Returns:
        the proxyUser value.
      • setProxyUser

        public HDInsightSparkActivity setProxyUser​(Object proxyUser)
        Set the proxyUser property: The user to impersonate that will execute the job. Type: string (or Expression with resultType string).
        Parameters:
        proxyUser - the proxyUser value to set.
        Returns:
        the HDInsightSparkActivity object itself.
      • getSparkConfig

        public Map<String,​Object> getSparkConfig()
        Get the sparkConfig property: Spark configuration property.
        Returns:
        the sparkConfig value.
      • setSparkConfig

        public HDInsightSparkActivity setSparkConfig​(Map<String,​Object> sparkConfig)
        Set the sparkConfig property: Spark configuration property.
        Parameters:
        sparkConfig - the sparkConfig value to set.
        Returns:
        the HDInsightSparkActivity object itself.