CodePudding user response:
Submit the application to spark cluster, a very popular methodCodePudding user response:
I usually use yarn run the spark program, with the yarn just install the spark client, do not need to install the spark cluster,CodePudding user response:
Packaged into a jar file inLike this:
/usr/local/spark1.6/bin#/spark - submit - class org. Apache. Spark. Examples. SparkPi - master spark://master: 7077../lib/spark - examples - 1.6.0 - hadoop2.6.0. Jar