Databricks SDK for JavaScript
    Preparing search index...
    interface SparkJarTask {
        jarUri?: string;
        mainClassName?: string;
        parameters?: string[];
        runAsRepl?: boolean;
    }
    Index

    Properties

    jarUri?: string

    Deprecated since 04/2016. For classic compute, provide a jar through the libraries field instead. For serverless compute, provide a jar though the java_dependencies field inside the environments list.

    See the examples of classic and serverless compute usage at the top of the page.

    mainClassName?: string

    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library.

    The code must use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job fail.

    parameters?: string[]

    Parameters passed to the main method.

    Use Task parameter variables to set parameters containing information about job runs.

    runAsRepl?: boolean

    Deprecated. A value of false is no longer supported.