Latest Apache Spark is successfully installed in your Ubuntu 16. export JAVA_HOME=/usr/lib/jvm/default-java/jre We shall use nano editor here : $ sudo nano ~/.bashrcĪnd add following lines at the end of ~/.bashrc file. To set JAVA_HOME variable and add /usr/lib/spark/bin folder to PATH, open ~/.bashrc with any of the editor. As a prerequisite, JAVA_HOME variable should also be set. Now we need to set SPARK_HOME environment variable and add it to the PATH. Then we moved the spark named folder to /usr/lib/. In the following terminal commands, we copied the contents of the unzipped spark folder to a folder named spark. To unzip the download, open a terminal and run the tar command from the location of the zip file. Before setting up Apache Spark in the PC, unzip the file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |