org.apache.hadoop.hive.ql.parse.SemanticException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException

incubator-hcatalog-user | Mithun Radhakrishnan | 4 years 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

    Re: A bug in hcatalog?

    incubator-hcatalog-user | 4 years ago | Mithun Radhakrishnan
    org.apache.hadoop.hive.ql.parse.SemanticException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException

    Root Cause Analysis

    1. org.apache.hadoop.hive.ql.metadata.HiveException

      java.lang.NullPointerException

      at org.apache.hadoop.hive.ql.metadata.Hive.getDatabase()
    2. Hive Query Language
      Hive.getDatabase
      1. org.apache.hadoop.hive.ql.metadata.Hive.getDatabase(Hive.java:1043)
      1 frame
    3. org.apache.hcatalog
      CreateTableHook.authorize
      1. org.apache.hcatalog.cli.SemanticAnalysis.CreateTableHook.authorize(CreateTableHook.java:195)
      1 frame