java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

Stack Overflow | Imran Hassan | 7 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

    hive issue on starting

    Stack Overflow | 7 months ago | Imran Hassan
    java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
  2. 0

    TOS-win32-x86 - "An error has occured. See the log file" (Page 1) / Data Integration - Installation / Talend Community Forum

    talendforge.org | 1 year ago
    java.lang.UnsupportedClassVersionError: org/talend/osgi/configurator/JarLoaderConfigurator : Unsupported major.minor version 51.0
  3. 0

    Exception in thread "main" java.lang.UnsupportedClassVersionError, Unsupported major.minor version 52.0

    Stack Overflow | 4 years ago | georgiana_e
    java.lang.UnsupportedClassVersionError: WordCount : Unsupported major.minor version 52.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    log4j first run errors

    GitHub | 2 years ago | divious1
    java.lang.UnsupportedClassVersionError: clj_json/JsonExt : Unsupported major.minor version 51.0, compiling:(clj_json/core.clj:1:1)
  6. 0

    Has Java 7 happened already?

    GitHub | 2 years ago | huntc
    sbt.IncompatiblePluginsException: Binary incompatibility in plugins detected. Note that conflicts were resolved for some dependencies: org.apache.commons:commons-compress org.tukaani:xz
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.UnsupportedClassVersionError

    com/mysql/jdbc/Driver : Unsupported major.minor version 52.0

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    Class.forName
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:412)
    13. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    14. java.lang.Class.forName0(Native Method)
    15. java.lang.Class.forName(Class.java:270)
    15 frames
  3. DataNucleus Core
    ClassLoaderResolverImpl.classForName
    1. org.datanucleus.ClassLoaderResolverImpl.classOrNull(ClassLoaderResolverImpl.java:510)
    2. org.datanucleus.ClassLoaderResolverImpl.classForName(ClassLoaderResolverImpl.java:193)
    3. org.datanucleus.ClassLoaderResolverImpl.classForName(ClassLoaderResolverImpl.java:372)
    3 frames
  4. DataNucleus RDBMS plugin
    ConnectionFactoryImpl.<init>
    1. org.datanucleus.store.rdbms.connectionpool.AbstractConnectionPoolFactory.loadDriver(AbstractConnectionPoolFactory.java:47)
    2. org.datanucleus.store.rdbms.connectionpool.BoneCPConnectionPoolFactory.createConnectionPool(BoneCPConnectionPoolFactory.java:54)
    3. org.datanucleus.store.rdbms.ConnectionFactoryImpl.generateDataSources(ConnectionFactoryImpl.java:213)
    4. org.datanucleus.store.rdbms.ConnectionFactoryImpl.initialiseDataSources(ConnectionFactoryImpl.java:117)
    5. org.datanucleus.store.rdbms.ConnectionFactoryImpl.<init>(ConnectionFactoryImpl.java:82)
    5 frames
  5. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  6. DataNucleus Core
    AbstractStoreManager.<init>
    1. org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:606)
    2. org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:330)
    3. org.datanucleus.store.AbstractStoreManager.registerConnectionFactory(AbstractStoreManager.java:203)
    4. org.datanucleus.store.AbstractStoreManager.<init>(AbstractStoreManager.java:162)
    4 frames
  7. DataNucleus RDBMS plugin
    RDBMSStoreManager.<init>
    1. org.datanucleus.store.rdbms.RDBMSStoreManager.<init>(RDBMSStoreManager.java:284)
    1 frame
  8. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  9. DataNucleus Core
    PersistenceNucleusContextImpl.initialise
    1. org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:606)
    2. org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:301)
    3. org.datanucleus.NucleusContextHelper.createStoreManagerForProperties(NucleusContextHelper.java:133)
    4. org.datanucleus.PersistenceNucleusContextImpl.initialise(PersistenceNucleusContextImpl.java:420)
    4 frames
  10. DataNucleus JDO API plugin
    JDOPersistenceManagerFactory.getPersistenceManagerFactory
    1. org.datanucleus.api.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:821)
    2. org.datanucleus.api.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:338)
    3. org.datanucleus.api.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:217)
    3 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  12. JDO API
    JDOHelper$16.run
    1. javax.jdo.JDOHelper$16.run(JDOHelper.java:1965)
    1 frame
  13. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  14. JDO API
    JDOHelper.getPersistenceManagerFactory
    1. javax.jdo.JDOHelper.invoke(JDOHelper.java:1960)
    2. javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1166)
    3. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:808)
    4. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:701)
    4 frames
  15. Hive Metastore
    ObjectStore.setConf
    1. org.apache.hadoop.hive.metastore.ObjectStore.getPMF(ObjectStore.java:424)
    2. org.apache.hadoop.hive.metastore.ObjectStore.getPersistenceManager(ObjectStore.java:453)
    3. org.apache.hadoop.hive.metastore.ObjectStore.initialize(ObjectStore.java:327)
    4. org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore.java:294)
    4 frames
  16. Hadoop
    ReflectionUtils.newInstance
    1. org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
    2. org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:136)
    2 frames
  17. Hive Metastore
    HiveMetaStoreClient.<init>
    1. org.apache.hadoop.hive.metastore.RawStoreProxy.<init>(RawStoreProxy.java:58)
    2. org.apache.hadoop.hive.metastore.RawStoreProxy.getProxy(RawStoreProxy.java:67)
    3. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newRawStore(HiveMetaStore.java:581)
    4. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:546)
    5. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:612)
    6. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:398)
    7. org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:78)
    8. org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:84)
    9. org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:6396)
    10. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:236)
    10 frames
  18. Hive Query Language
    SessionHiveMetaStoreClient.<init>
    1. org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.<init>(SessionHiveMetaStoreClient.java:70)
    1 frame
  19. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  20. Hive Metastore
    RetryingMetaStoreClient.getProxy
    1. org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1625)
    2. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:80)
    3. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:130)
    4. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:101)
    4 frames
  21. Hive Query Language
    SessionState.beginStart
    1. org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:3317)
    2. org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3356)
    3. org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3336)
    4. org.apache.hadoop.hive.ql.metadata.Hive.getAllFunctions(Hive.java:3590)
    5. org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:236)
    6. org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(Hive.java:221)
    7. org.apache.hadoop.hive.ql.metadata.Hive.<init>(Hive.java:366)
    8. org.apache.hadoop.hive.ql.metadata.Hive.create(Hive.java:310)
    9. org.apache.hadoop.hive.ql.metadata.Hive.getInternal(Hive.java:290)
    10. org.apache.hadoop.hive.ql.metadata.Hive.get(Hive.java:266)
    11. org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:545)
    12. org.apache.hadoop.hive.ql.session.SessionState.beginStart(SessionState.java:518)
    12 frames
  22. org.apache.hadoop
    CliDriver.main
    1. org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:705)
    2. org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641)
    2 frames
  23. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  24. Hadoop
    RunJar.main
    1. org.apache.hadoop.util.RunJar.run(RunJar.java:221)
    2. org.apache.hadoop.util.RunJar.main(RunJar.java:136)
    2 frames