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

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

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: