Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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