I am following the example at https://hortonworks.com/tutorial/spark-on-yarn-example/ but getting an error on the spark-submit command.
The error is:
Retrying connect to server: sandbox-hdp.hortonworks.com /<my IP>:8032. Already tried 40 time(s); retry policy is RetryUpToMaximumCountWithF ixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
I am on a Mac host and opted for SPARK_MAJOR_VERSION 2. Please help.
I agree with @acastro, Just ran the tutorial and it works like a charm on HDP 2.6.5
18/07/17 17:51:04 INFO scheduler.DAGScheduler: Job 0 finished: reduce at SparkPi.scala:36, took 7.331063 s Pi is roughly 3.1402191402191404