Home > other >  Spark - submit in yarn model cannot resolve parameters, see the classmate have to encounter such a s
Spark - submit in yarn model cannot resolve parameters, see the classmate have to encounter such a s

Time:09-20

The spark version 2.1.0
Had hoped to spark - submit followed by a json string, for use in jars, but cannot resolve the last "}} ", so specially testing the following
In the code is very simple, is the main print args (0)

Submit the following commands spark - submit - master spark://IP: 7077 - class mainClass myjar. Jar 10 can print 10}}}}
But the spark - submit -- master yarn - deploy - mode cluster - class mianClass myjar. 10}} can print out only 10 jar, behind parameters into a "10}}}", still only print out 10

Hope you a great god teach

  • Related