hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Sherman (JIRA)" <>
Subject [jira] [Commented] (HIVE-19392) unsynchronized index causes DataInputByteBuffer$ hangs
Date Fri, 22 Jun 2018 22:00:00 GMT


Andrew Sherman commented on HIVE-19392:

Hi [~dustinday] I think DataInputByteBuffer is not thread safe (and the parent class
is explicitly not thread safe) but it does not seem to be used by multiple threads. Did you
see a failure in hive/tez?


> unsynchronized index causes DataInputByteBuffer$ hangs
> -----------------------------------------------------------------
>                 Key: HIVE-19392
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.0.0
>            Reporter: John Doe
>            Assignee: Andrew Sherman
>            Priority: Minor
> 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|].

This message was sent by Atlassian JIRA

View raw message