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

Remove synchronization of Hive Native commands

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment