Can someone please provide an example on how I run my application in Spark 2. When I run the code below
/usr/spark2.2.1/bin/spark-submit --class SimpleScalaSpark --master yarn /tmp/zzspark/tutorial2_2.11-0.1.jar
I get the following error messages
18/02/12 02:26:45 INFO RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
18/02/12 02:26:47 INFO Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
18/02/12 02:26:48 INFO Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)