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

The error handler in LlapRecordReader might block if its queue is full

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      InĀ setError() we set the value of an atomic reference (pendingError) and we also put the error in a queue. The latter seems not just unnecessary but it might block the caller of the handler if the queue is full. Also closing of the reader is might not properly handled as some of the flags are not volatile.

      Attachments

        1. HIVE-22523.1.patch
          1 kB
          Attila Magyar
        2. HIVE-22523.2.patch
          0.8 kB
          Attila Magyar

        Activity

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

          People

            amagyar Attila Magyar Assign to me
            amagyar Attila Magyar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment