Run Spark Session
-
Navigate to
${SPARK_HOME}/bin
folder and export the JWT token -
Start spark-session (choose one of spark-shell, pyspark, or spark-sql)
-
To pass the JWT token directly as a command-line argument, use the following configuration when connecting to the cluster
-
To use the file path containing the JWT token, use the following configuration:
-
- Prev topic: Connector Guide