java.lang.NoSuchMethodError: com.metamx.common.CompressionUtils.unzip(Lcom/google/common/io/ByteSource;Ljava/io/File;Lcom/google/common/base/Predicate;Z)Lcom/metamx/common/FileUtils$FileCopyResult;

GitHub | maver1ck | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.NoSuchMethodError: com.metamx.common.CompressionUtils.unzip

    GitHub | 5 months ago | maver1ck
    java.lang.NoSuchMethodError: com.metamx.common.CompressionUtils.unzip(Lcom/google/common/io/ByteSource;Ljava/io/File;Lcom/google/common/base/Predicate;Z)Lcom/metamx/common/FileUtils$FileCopyResult;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.metamx.common.CompressionUtils.unzip(Lcom/google/common/io/ByteSource;Ljava/io/File;Lcom/google/common/base/Predicate;Z)Lcom/metamx/common/FileUtils$FileCopyResult;

      at io.druid.storage.hdfs.HdfsDataSegmentPuller.getSegmentFiles()
    2. io.druid.storage
      HdfsLoadSpec.loadSegment
      1. io.druid.storage.hdfs.HdfsDataSegmentPuller.getSegmentFiles(HdfsDataSegmentPuller.java:235)[?:?]
      2. io.druid.storage.hdfs.HdfsLoadSpec.loadSegment(HdfsLoadSpec.java:62)[?:?]
      2 frames
    3. Druid Server
      ZkCoordinator$1.childEvent
      1. io.druid.segment.loading.SegmentLoaderLocalCacheManager.getSegmentFiles(SegmentLoaderLocalCacheManager.java:143)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      2. io.druid.segment.loading.SegmentLoaderLocalCacheManager.getSegment(SegmentLoaderLocalCacheManager.java:95)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      3. io.druid.server.coordination.ServerManager.loadSegment(ServerManager.java:152)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      4. io.druid.server.coordination.ZkCoordinator.loadSegment(ZkCoordinator.java:305)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      5. io.druid.server.coordination.ZkCoordinator.addSegment(ZkCoordinator.java:350)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      6. io.druid.server.coordination.SegmentChangeRequestLoad.go(SegmentChangeRequestLoad.java:44)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      7. io.druid.server.coordination.ZkCoordinator$1.childEvent(ZkCoordinator.java:152)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      7 frames
    4. Fabric8
      PathChildrenCache$5.apply
      1. org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:522)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      2. org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:516)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      2 frames
    5. Curator Framework
      ListenerContainer$1.run
      1. org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:93)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      1 frame
    6. shade.com.google
      MoreExecutors$SameThreadExecutorService.execute
      1. shade.com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      1 frame
    7. Curator Framework
      ListenerContainer.forEach
      1. org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:85)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      1 frame
    8. Fabric8
      PathChildrenCache$9.run
      1. org.apache.curator.framework.recipes.cache.PathChildrenCache.callListeners(PathChildrenCache.java:514)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      2. org.apache.curator.framework.recipes.cache.EventOperation.invoke(EventOperation.java:35)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      3. org.apache.curator.framework.recipes.cache.PathChildrenCache$9.run(PathChildrenCache.java:772)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1]
      3 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_66]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_66]
      3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_66]
      4. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_66]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_66]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_66]
      7. java.lang.Thread.run(Thread.java:745)[?:1.8.0_66]
      7 frames