java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64. encodeBase64String([B)Ljava/lang/String;

Google Groups | Kaiming Wan | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    mapreduce job failed with alluxio configuration

    Google Groups | 5 months ago | Kaiming Wan
    java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64. encodeBase64String([B)Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.commons.codec.binary.Base64. encodeBase64String([B)Ljava/lang/String;

      at org.apache.hadoop.yarn.util.AuxiliaryServiceHelper.setServiceDataIntoEnv()
    2. hadoop-yarn-common
      AuxiliaryServiceHelper.setServiceDataIntoEnv
      1. org.apache.hadoop.yarn.util.AuxiliaryServiceHelper.setServiceDataIntoEnv(AuxiliaryServiceHelper.java:45)
      1 frame
    3. hadoop-yarn-server-nodemanager
      ContainerLaunch.call
      1. org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.sanitizeEnv(ContainerLaunch.java:823)
      2. org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:268)
      3. org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames