ADD JAR

Applies to: check marked yes Databricks Runtime

Adds a JAR file to the list of resources. The added JAR file can be listed using LIST JAR.

Syntax

ADD [JAR | JARS] file_name [...]

Parameters

  • file_name

    The name of a JAR file to be added. It could be either on a local file system or a distributed file system.

Examples

> ADD JAR /tmp/test.jar;

> ADD JAR "/path/to/some.jar";

> ADD JAR '/some/other.jar';

> ADD JARS "/path with space/abc.jar" "/path with space/def.jar";