Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Submitting Spark jobs - RequestHedgingRMFailoverProxyProvider not found

New Contributor

Hi all,

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.

1 REPLY 1

New Contributor

I solved the problem.

In my case,

I set HDP version in spark-env.sh like below.

export HDP_VERSION="-Dhdp.version=2.6.3.0-235"