Last active
November 4, 2019 13:35
-
-
Save korkridake/430688a1bef2caa2c3d3c3da7e4f8ec8 to your computer and use it in GitHub Desktop.
Set up some environment variables for the proper functioning of Polynote
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
polynoteuser02@polynotevm02:~/download$ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
polynoteuser02@polynotevm02:~/download$ export SPARK_HOME=/home/polynoteuser02/download/spark-2.4.4-bin-hadoop2.7 | |
polynoteuser02@polynotevm02:~/download$ export PATH = "$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin" | |
polynoteuser02@polynotevm02:~/download$ echo $JAVA_HOME | |
polynoteuser02@polynotevm02:~/download$ echo $SPARK_HOME | |
polynoteuser02@polynotevm02:~/download$ echo $PATH | |
polynoteuser02@polynotevm02:~/download$ java -version | |
# If the below command can run, you should see usage information. | |
polynoteuser02@polynotevm02:~/download$ spark-submit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment