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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to