Configure Spark JAR Location
About this task
Procedure
-
Copy the following JAR
file from the local
file system to a world-readable location on
MapR-FS:
Substitute your Spark version and specific JAR file name in the
command.
/opt/mapr/spark/spark-<version>/lib/spark-assembly-<version>-hadoop<version>-mapr-<version>.jar
-
Set
the
spark.yarn.jar
property in the spark-defaults.conf file to point to the world-readable location where you added the Spark JAR file. For example:spark.yarn.jar maprfs:///<path to jar>