You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Attila Magyar (Jira)" <ji...@apache.org> on 2019/11/21 10:12:00 UTC

[jira] [Created] (HIVE-22523) The error handler in LlapRecordReader might block if its queue is full

Attila Magyar created HIVE-22523:
------------------------------------

             Summary: The error handler in LlapRecordReader might block if its queue is full
                 Key: HIVE-22523
                 URL: https://issues.apache.org/jira/browse/HIVE-22523
             Project: Hive
          Issue Type: Bug
            Reporter: Attila Magyar
            Assignee: Attila Magyar
             Fix For: 4.0.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)