Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this topic

CDH 5.3 CLASSPATH Issue?

avatar
Contributor

After going from 5.2.1 to 5.3, YARN jobs are now failing unable to find classes within assembly jars (example):

 

java.lang.NoSuchMethodError: org.joda.time.DateTime.now(Lorg/joda/time/DateTimeZone;)Lorg/joda/time/DateTime;

 

 

This is how we had been calling the applications:

 

HADOOP_CLASSPATH=/path/to/jar/application.jar:$(hbase classpath) /usr/bin/hadoop jar /path/to/jar/application.jar

 

Re-compling to ensure everything uses the 5.3 Maven repositories, etc, etc - same issue.

 

Who agreed with this topic