java.lang.NoClassDefFoundError: org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap

Pentaho BI Platform Tracking | Chris Deptula | 5 years ago
  1. 0

    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.

    Pentaho BI Platform Tracking | 5 years ago | Chris Deptula
    java.lang.NoClassDefFoundError: org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap
  2. 0

    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.

    Pentaho BI Platform Tracking | 5 years ago | Chris Deptula
    java.lang.NoClassDefFoundError: org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap
  3. 0

    Tip: Fix NoClassDefFoundError on org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap - Tim Mattison

    timmattison.com | 6 months ago
    java.lang.NoClassDefFoundError: org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 30#194209847

    GitHub | 9 months ago | wangzhics
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.hdfs.DFSConfigKeys
  6. 0

    GitHub comment 18#223734282

    GitHub | 6 months ago | KennyD10
    java.lang.NoClassDefFoundError: org/apache/htrace/SamplerBuilder

    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.NoClassDefFoundError

      org/apache/hadoop/thirdparty/guava/common/collect/LinkedListMultimap

      at org.apache.hadoop.hdfs.SocketCache.<init>()
    2. Apache Hadoop HDFS
      DistributedFileSystem.initialize
      1. org.apache.hadoop.hdfs.SocketCache.<init>(SocketCache.java:48)
      2. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:240)
      3. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208)
      4. org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
      4 frames
    3. Hadoop
      FileSystem.get
      1. org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1563)
      2. org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)
      3. org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1597)
      4. org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1579)
      5. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228)
      6. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111)
      6 frames
    4. Hadoop
      FileInputFormat.setInputPaths
      1. org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:563)
      2. org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:315)
      2 frames
    5. org.pentaho.di
      Job.run
      1. org.pentaho.di.job.entries.hadooptransjobexecutor.JobEntryHadoopTransJobExecutor.execute(JobEntryHadoopTransJobExecutor.java:747)
      2. org.pentaho.di.job.Job.execute(Job.java:528)
      3. org.pentaho.di.job.Job.execute(Job.java:667)
      4. org.pentaho.di.job.Job.execute(Job.java:393)
      5. org.pentaho.di.job.Job.run(Job.java:313)
      5 frames