java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When using a CDH3u3 cluster the Pentaho MapReduce job entry fails with the following stack trace. 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : java.lang.NoClassDefFoundError: org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.SocketCache.<init>(SocketCache.java:48) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:240) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1563) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1597) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1579) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:563) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:315) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.entries.hadooptransjobexecutor.JobEntryHadoopTransJobExecutor.execute(JobEntryHadoopTransJobExecutor.java:747) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:528) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:667) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:393) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.run(Job.java:313) This works on CDH3u2 and earlier. Use the http://wiki.pentaho.com/display/BAD/Using+Pentaho+MapReduce+to+Parse+Weblog+Data how to for a test case.
    via by Chris Deptula,
  • When using a CDH3u3 cluster the Pentaho MapReduce job entry fails with the following stack trace. 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : java.lang.NoClassDefFoundError: org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.SocketCache.<init>(SocketCache.java:48) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:240) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1563) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1597) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1579) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:563) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:315) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.entries.hadooptransjobexecutor.JobEntryHadoopTransJobExecutor.execute(JobEntryHadoopTransJobExecutor.java:747) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:528) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:667) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:393) 2012/01/31 15:04:39 - Pentaho MapReduce - ERROR (version 4.3.0, build 16295 from 2012-01-27 15.53.26 by tomcat) : at org.pentaho.di.job.Job.run(Job.java:313) This works on CDH3u2 and earlier. Use the http://wiki.pentaho.com/display/BAD/Using+Pentaho+MapReduce+to+Parse+Weblog+Data how to for a test case.
    via by Chris Deptula,
  • GitHub comment 30#194209847
    via GitHub by wangzhics
    ,
  • GitHub comment 18#223734282
    via GitHub by KennyD10
    ,
  • Query through Shark API not working
    via Stack Overflow by Radu C.
    ,
    • java.lang.NoClassDefFoundError: org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap at org.apache.hadoop.hdfs.SocketCache.<init>(SocketCache.java:48) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:240) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1563) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1597) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1579) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111) at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:563) at org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:315) at org.pentaho.di.job.entries.hadooptransjobexecutor.JobEntryHadoopTransJobExecutor.execute(JobEntryHadoopTransJobExecutor.java:747) at org.pentaho.di.job.Job.execute(Job.java:528) at org.pentaho.di.job.Job.execute(Job.java:667) at org.pentaho.di.job.Job.execute(Job.java:393) at org.pentaho.di.job.Job.run(Job.java:313)
    No Bugmate found.