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

Remove synchronization of Hive Native commands

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 1.3.0
    • 2.0.0
    • SQL
    • None

    Description

      As discussed in https://issues.apache.org/jira/browse/SPARK-4908, concurrent hive native commands run into thread-safety issues with org.apache.hadoop.hive.ql.Driver.

      The quick-fix was to synchronize calls to runHive:

      https://github.com/apache/spark/commit/480bd1d2edd1de06af607b0cf3ff3c0b16089add

      However, if the hive native command is long-running, this can block subsequent queries if they have native dependencies.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dyross David Ross
              Cheng Lian Cheng Lian
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: