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

HiveSessionImpl#executeStatementInternal may leave locks in an inconsistent state

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1, 2.2.0
    • HiveServer2
    • None

    Description

      TestEmbeddedThriftBinaryCLIService have showed me this behaviour.

      Thrift service may hang because of this issue.
      TestEmbeddedThriftBinaryCLIService can reproduce this problem with a very bad probability...but I was able to

      Its not able to aquire the semaphore; because most probably because an earlier command have produced an SQLException in the unprotected parts.

      Attachments

        1. HIVE-15002.1.patch
          5 kB
          Zoltan Haindrich
        2. HIVE-15002.1.patch
          5 kB
          Zoltan Haindrich
        3. HIVE-15002.2.patch
          5 kB
          Zoltan Haindrich
        4. stacktrace.txt
          17 kB
          Zoltan Haindrich

        Activity

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

          People

            kgyrtkirk Zoltan Haindrich Assign to me
            kgyrtkirk Zoltan Haindrich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment