Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2152

Hive throws an NPE if hive-default.xml.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • None
    • Diagnosability
    • None

    Description

      If you don't have hive-default.xml in your classpath, you get the following error when you try to show tables in the the hive shell:

      hive> show tables;
      FAILED: Error in metadata: java.lang.NullPointerException
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

      It would be a lot more useful to print message indicating that hive-default.xml. This problem will become mute if HIVE-1530 gets accepted.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fwiffo Joey Echeverria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: