hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "He Tianyi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-6757) Multithreaded mapper corrupts buffer pusher in nativetask
Date Tue, 16 Aug 2016 10:06:20 GMT
He Tianyi created MAPREDUCE-6757:
------------------------------------

             Summary: Multithreaded mapper corrupts buffer pusher in nativetask
                 Key: MAPREDUCE-6757
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6757
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: nativetask
    Affects Versions: 3.0.0-alpha1
            Reporter: He Tianyi


Multiple threads could be calling {{collect}} method of the same {{NativeMapOutputCollectorDelegator}}
instance at the same time. In this case, buffer can be corrupted.
This may occur when executing Hive queries with custom script.

Adding 'synchronized' keyword to {{collect}} method would solve the problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org


Mime
View raw message