Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12221

Start Impalad java.lang.NoClassDefFoundError: javax/jdo/JDOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 4.3.0
    • Not Applicable
    • Clients
    • None

    Description

      When I execute/ Start-impala-cluster.py - s 1-- restart_ Impalad_ Only, the imported service did not start successfully; Observing the logs, it was found that there was a class conflict;

      I0616 11:50:26.499475 32367 MetastoreConf.java:2025] Found configuration file file:/bianqi/impala-4.3.0/toolchain/cdp_components-40643771/apache-hive-3.1.3000.7.2.18.0-41-bin/conf/hive-site.xml
      I0616 11:50:26.499955 32367 MetastoreConf.java:2018] Unable to find config file hivemetastore-site.xml
      I0616 11:50:26.500003 32367 MetastoreConf.java:2025] Found configuration file null
      I0616 11:50:26.500358 32367 MetastoreConf.java:2018] Unable to find config file metastore-site.xml
      I0616 11:50:26.500401 32367 MetastoreConf.java:2025] Found configuration file null
      I0616 11:50:26.571043 32367 QueryEventHookManager.java:94] QueryEventHook config:
      I0616 11:50:26.571125 32367 QueryEventHookManager.java:95] - query_event_hook_nthreads=1
      I0616 11:50:26.571159 32367 QueryEventHookManager.java:96] - query_event_hook_classes=
      I0616 11:50:26.634904 32367 HiveMetaStoreClient.java:272] HMS client filtering is enabled.
      W0616 11:50:26.698336 32367 MetaStoreClientPool.java:107] Failed to connect to Hive MetaStore. Retrying.
      Java exception follows:
      java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
              at org.apache.hadoop.hive.metastore.utils.JavaUtils.newInstance(JavaUtils.java:86)
              at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:98)
              at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:151)
              at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:122)
              at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:115)
              at org.apache.impala.catalog.MetaStoreClientPool$MetaStoreClient.<init>(MetaStoreClientPool.java:99)
              at org.apache.impala.catalog.MetaStoreClientPool$MetaStoreClient.<init>(MetaStoreClientPool.java:78)
              at org.apache.impala.catalog.MetaStoreClientPool.initClients(MetaStoreClientPool.java:174)
              at org.apache.impala.catalog.MetaStoreClientPool.<init>(MetaStoreClientPool.java:163)
              at org.apache.impala.catalog.MetaStoreClientPool.<init>(MetaStoreClientPool.java:155)
              at org.apache.impala.service.Frontend.<init>(Frontend.java:506)
              at org.apache.impala.service.Frontend.<init>(Frontend.java:460)
              at org.apache.impala.service.JniFrontend.<init>(JniFrontend.java:146)
      Caused by: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at org.apache.hadoop.hive.metastore.utils.JavaUtils.newInstance(JavaUtils.java:84)
              ... 12 more
      Caused by: java.lang.NoClassDefFoundError: javax/jdo/JDOException
              at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:11281)
              at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:212)
              ... 17 more
      Caused by: java.lang.ClassNotFoundException: javax.jdo.JDOException
              at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351) 

      Attachments

        Activity

          People

            Unassigned Unassigned
            bianqi bianqi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: