You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Doe (JIRA)" <ji...@apache.org> on 2018/05/03 02:03:00 UTC

[jira] [Created] (HIVE-19392) unsynchronized index causes DataInputByteBuffer$Buffer.read hangs

John Doe created HIVE-19392:
-------------------------------

             Summary: unsynchronized index causes DataInputByteBuffer$Buffer.read hangs
                 Key: HIVE-19392
                 URL: https://issues.apache.org/jira/browse/HIVE-19392
             Project: Hive
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.0.0
            Reporter: John Doe


In DataInputByteBuffer$Buffer class, the fields bidx and buffers, etc are unsynchronized when used in read() and reset() function. In certain circumstances, e.g., the reset() is invoked in a loop, the unsynchronized bidx and buffers can trigger a concurrency bug.
This bug also shows in [Hadoop-15429|https://issues.apache.org/jira/browse/HADOOP-15429].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)