Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-11783

When deployed against remote Hive metastore, HiveContext.executionHive points to wrong metastore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.1, 1.6.0
    • 1.6.0
    • SQL
    • None

    Description

      When using remote metastore, execution Hive client somehow is initialized to point to the actual remote metastore instead of the dummy local Derby metastore.

      To reproduce this issue:

      1. Configuring conf/hive-site.xml to point to a remote Hive 1.2.1 metastore.
      2. Set hive.metastore.uris to thrift://localhost:9083.
      3. Start metastore service using $HIVE_HOME/bin/hive --service metastore
      4. Start Thrift server with remote debugging options
      5. Attach the debugger to the Thrift server driver process, we can verify that executionHive points to the remote metastore rather than the local execution Derby metastore.

      Attachments

        Issue Links

          Activity

            People

              lian cheng Cheng Lian
              lian cheng Cheng Lian
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: