java.lang.NoSuchMethodError: org.apache.hadoop.yarn.client.ClientRMProxy.getRMDelegationTokenService(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/io/Text;

GitHub | andytlim | 4 months ago
  1. 0

    java.lang.NoSuchMethodError: org.apache.hadoop.yarn.client.ClientRMProxy.getRMDelegationTokenService

    GitHub | 4 months ago | andytlim
    java.lang.NoSuchMethodError: org.apache.hadoop.yarn.client.ClientRMProxy.getRMDelegationTokenService(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/io/Text;
  2. 0

    gobblin don't work in hadoop 2.7.1

    GitHub | 1 year ago | zhaolmtravelsky
    java.lang.NoSuchMethodError: org.apache.hadoop.mapreduce.v2.util.MRApps.crossPlatformifyMREnv(Lorg/apache/hadoop/conf/Configuration;Lorg/apache/hadoop/yarn/api/ApplicationConstants$Environment;)Ljava/lang/String;
  3. 0

    gobblin don't work in hadoop 2.7.1

    GitHub | 1 year ago | zhaolmtravelsky
    java.lang.NoSuchMethodError: org.apache.hadoop.mapreduce.v2.util.MRApps.addLog4jSystemProperties(Ljava/lang/String;JILjava/util/List;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hadoop 2.6.0 wordcount example running error, Please help me!

    Stack Overflow | 1 year ago | Hai Zhou
    java.lang.NoSuchMethodError: org.apache.hadoop.mapreduce.v2.util.MRApps.addLog4jSystemProperties(Ljava/lang/String;JILjava/util/List;Lorg/apache/hadoop/conf/Configuration;)V
  6. 0

    Running mvn clean test -Dhadoop2.version=2.4.0 has many unit test failures because guava version mismatch. For example: ====== completeJobToyExample(org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest) Time elapsed: 0.736 sec <<< ERROR! java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.elapsedMillis()J at __randomizedtesting.SeedInfo.seed([BEBBF9ACD237F984:B570D1523391FD4E]:0) at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:278) at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:375) at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:493) at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:510) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:394) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1285) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1282) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1282) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1303) at org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob.run(ParallelALSFactorizationJob.java:172) at org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest.explicitExample(ParallelALSFactorizationJobTest.java:112) at org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest.completeJobToyExample(ParallelALSFactorizationJobTest.java:71) ===== hadoop mapreduce V2 is using guava v11.0.2 and mahout is using guava version 16.0 After trying different versions guava version 14.0 seems to have hadoop MR V2 compatible jars and mahout needed classes. The unit tests ran successfully after changing the dependency in mahout to v14.0

    Apache's JIRA Issue Tracker | 2 years ago | Venkat Ranganathan
    java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.elapsedMillis()J

  1. r1chjames 1 times, last 6 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoSuchMethodError

    org.apache.hadoop.yarn.client.ClientRMProxy.getRMDelegationTokenService(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/io/Text;

    at org.apache.hadoop.mapred.ResourceMgrDelegate.getRMDelegationTokenService()
  2. Hadoop
    Job$10.run
    1. org.apache.hadoop.mapred.ResourceMgrDelegate.getRMDelegationTokenService(ResourceMgrDelegate.java:165)
    2. org.apache.hadoop.mapred.YARNRunner.addHistoryToken(YARNRunner.java:192)
    3. org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:282)
    4. org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:432)
    5. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1285)
    6. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1282)
    6 frames
  3. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:422)
    2 frames
  4. Hadoop
    UserGroupInformation.doAs
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
    1 frame
  5. Hadoop
    Job.submit
    1. org.apache.hadoop.mapreduce.Job.submit(Job.java:1282)
    1 frame