We're currently attempting to submit Spark jobs via Talend, and we're hitting the following error:
[ERROR]: org.apache.spark.SparkContext - Error initializing SparkContext.java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.client.RequestHedgingRMFailoverProxyProvider not found at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2227)
I've ensured the YARN classpath is updated (as noted in this post), but we're still getting the above error. Not sure if we're not setting something in Ambari or if something is not being set in Talend. All help is appreciated.
I solved the problem.
In my case,
I set HDP version in spark-env.sh like below.