Home > other >  Java submit spark applications to the cluster
Java submit spark applications to the cluster

Time:09-24

Java how to submit the application to spark standalone cluster to run;

CodePudding user response:

Submit the application to spark cluster, a very popular method

CodePudding 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 in
Like 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
  • Related