org.apache.hadoop.hive.ql.parse.SemanticException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • A bug in hcatalog?
    via by 徐冰,
  • A bug in hcatalog?
    via by 徐冰,
  • Re:Re: A bug in hcatalog?
    via by 徐冰,
  • Problems with JDBC Driver & Tomcat
    via Stack Overflow by MathanMV
    ,
    • org.apache.hadoop.hive.ql.parse.SemanticException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException at org.apache.hcatalog.cli.SemanticAnalysis.CreateTableHook.authorize(CreateTableHook.java:210) at org.apache.hcatalog.cli.SemanticAnalysis.CreateTableHook.postAnalyze(CreateTableHook.java:168) at org.apache.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzer.postAnalyze(HCatSemanticAnalyzer.java:185) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:379) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:335) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:844) at org.apache.hcatalog.cli.HCatDriver.run(HCatDriver.java:42) at org.apache.hcatalog.cli.HCatCli.processCmd(HCatCli.java:225) at org.apache.hcatalog.cli.HCatCli.processLine(HCatCli.java:181) at org.apache.hcatalog.cli.HCatCli.main(HCatCli.java:145) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException at org.apache.hadoop.hive.ql.metadata.Hive.getDatabase(Hive.java:1043) at org.apache.hcatalog.cli.SemanticAnalysis.CreateTableHook.authorize(CreateTableHook.java:195) ... 14 more Caused by: java.lang.NullPointerException at java.lang.Class.forName(Class.java:172) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getClass(HiveMetaStore.java:503) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:385) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.executeWithRetry(HiveMetaStore.java:337) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:482) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:250) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.<init>(HiveMetaStore.java:213) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:110) at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:2010) at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:2020) at org.apache.hadoop.hive.ql.metadata.Hive.getDatabase(Hive.java:1039) ... 15 more

    Users with the same issue

    filpgame
    3 times, last one,
    ccarpenter04
    1 times, last one,
    jf-ast
    1 times, last one,
    rp
    1 times, last one,
    davidvanlaatum
    127 times, last one,
    12 more bugmates