![]() ![]() Spark-submit -class .SparkPi spark/examples/jars/spark-examples_2.12-3.0.1.jar 10Īpache Spark binary comes with an interactive spark-shell. You can find spark-submit at $SPARK_HOME/bin directory. Here I will be using Spark-Submit Command to calculate PI value for 10 places by running .SparkPi example. Now let’s run a sample example that comes with Spark binary distribution. With this, Apache Spark Installation on Linux Ubuntu completes. profile file then restart your session by closing and re-opening the session. Now load the environment variables to the opened session by running below command :~$ source ~/.bashrc open file in vi editor and add below variables. Once untar complete, rename the folder to spark.Īdd Apache Spark environment variables to. Once your download is complete, untar the archive file contents using tar command, tar is a file archiving tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |