Created on 12-30-2014 01:08 PM - edited 09-16-2022 02:17 AM
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.