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

derbyclient.jar and derbytools.jar should be included in hive/lib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • Metastore
    • None
    • Cent OS 5 x86-64 JDK 1.6

    Description

      Attempting to use the Derby ClientDriver will cause a null pointer exception because derbyclient.jar and derbytools.jar are not in lib.

      hive> show tables;
      08/10/02 15:17:12 INFO hive.metastore: Trying to connect to metastore
      with URI jdbc:derby://nyhadoop1:1527/metastore_db
      FAILED: Error in semantic analysis: java.lang.NullPointerException
      08/10/02 15:17:12 ERROR ql.Driver: FAILED: Error in semantic analysis:
      java.lang.NullPointerException

      derbyclient.jar and derbytools.jar should probably be put in the hive/lib directory. Also this type of exception could happen often with different JDBC libraries the exception should be trapped better

      Attachments

        Activity

          People

            Unassigned Unassigned
            appodictic Edward Capriolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: