java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper

GitHub | vlkodev | 7 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

    Presto Hive plugin is missing libraries needed for Hadoop KMS

    GitHub | 7 months ago | vlkodev
    java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
  2. 0

    Azure Hadoop support in Presto

    Google Groups | 5 months ago | Unknown author
    java.lang.NoClassDefFoundError: org/mortbay/util/ajax/JSON$Convertor

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.codehaus.jackson.map.ObjectMapper

      at com.facebook.presto.server.PluginClassLoader.loadClass()
    2. presto-main
      PluginClassLoader.loadClass
      1. com.facebook.presto.server.PluginClassLoader.loadClass(PluginClassLoader.java:106)
      1 frame
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      1 frame
    4. org.apache.hadoop
      KeyProviderCryptoExtension.decryptEncryptedKey
      1. org.apache.hadoop.crypto.key.kms.KMSClientProvider.writeJson(KMSClientProvider.java:216)
      2. org.apache.hadoop.crypto.key.kms.KMSClientProvider.call(KMSClientProvider.java:513)
      3. org.apache.hadoop.crypto.key.kms.KMSClientProvider.call(KMSClientProvider.java:504)
      4. org.apache.hadoop.crypto.key.kms.KMSClientProvider.decryptEncryptedKey(KMSClientProvider.java:779)
      5. org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.decryptEncryptedKey(KeyProviderCryptoExtension.java:388)
      5 frames
    5. Apache Hadoop HDFS
      DistributedFileSystem$3.doCall
      1. org.apache.hadoop.hdfs.DFSClient.decryptEncryptedDataEncryptionKey(DFSClient.java:1395)
      2. org.apache.hadoop.hdfs.DFSClient.createWrappedInputStream(DFSClient.java:1465)
      3. org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:305)
      4. org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:299)
      4 frames
    6. Hadoop
      FileSystemLinkResolver.resolve
      1. org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
      1 frame
    7. Apache Hadoop HDFS
      DistributedFileSystem.open
      1. org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:312)
      1 frame
    8. Hadoop
      FileSystem.open
      1. org.apache.hadoop.fs.FileSystem.open(FileSystem.java:767)
      1 frame
    9. Hadoop
      TextInputFormat.getRecordReader
      1. org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:108)
      2. org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.java:67)
      2 frames
    10. com.facebook.presto
      ClassLoaderSafeConnectorPageSourceProvider.createPageSource
      1. com.facebook.presto.hive.HiveUtil.lambda$createRecordReader$2(HiveUtil.java:166)
      2. com.facebook.presto.hive.RetryDriver.run(RetryDriver.java:136)
      3. com.facebook.presto.hive.HiveUtil.createRecordReader(HiveUtil.java:166)
      4. com.facebook.presto.hive.GenericHiveRecordCursorProvider.createHiveRecordCursor(GenericHiveRecordCursorProvider.java:47)
      5. com.facebook.presto.hive.HivePageSourceProvider.getHiveRecordCursor(HivePageSourceProvider.java:129)
      6. com.facebook.presto.hive.HivePageSourceProvider.createPageSource(HivePageSourceProvider.java:107)
      7. com.facebook.presto.spi.connector.classloader.ClassLoaderSafeConnectorPageSourceProvider.createPageSource(ClassLoaderSafeConnectorPageSourceProvider.java:44)
      7 frames
    11. presto-main
      TaskExecutor$Runner.run
      1. com.facebook.presto.split.PageSourceManager.createPageSource(PageSourceManager.java:48)
      2. com.facebook.presto.operator.TableScanOperator.createSourceIfNecessary(TableScanOperator.java:268)
      3. com.facebook.presto.operator.TableScanOperator.isFinished(TableScanOperator.java:210)
      4. com.facebook.presto.operator.Driver.processInternal(Driver.java:375)
      5. com.facebook.presto.operator.Driver.processFor(Driver.java:301)
      6. com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:618)
      7. com.facebook.presto.execution.TaskExecutor$PrioritizedSplitRunner.process(TaskExecutor.java:529)
      8. com.facebook.presto.execution.TaskExecutor$Runner.run(TaskExecutor.java:665)
      8 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames