[ https://issues.apache.org/jira/browse/MAPREDUCE-6467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903303#comment-14903303 ]
Ivo Udelsmann commented on MAPREDUCE-6467: ------------------------------------------ OptionBuilder was deprecated on version 1.3 of commons CLI. The recommended workaround should work, but it could be interesting to update commons CLI to version 1.3 and use Option.Builder to instantiate the Option objects. > Submitting streaming job is not thread safe > ------------------------------------------- > > Key: MAPREDUCE-6467 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6467 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: job submission > Affects Versions: 2.7.1 > Reporter: jeremie simon > Priority: Minor > Labels: easyfix, streaming, thread-safety > > The submission of the streaming job is not thread safe. > That is because the class StreamJob is using the OptionBuilder which is > itself not thread safe. > This can cause super tricky bugs. > An easy fix would be to simply create instances of Option through the normal > constructor and decorate the object if necessary. > This fix should be applied on the functions createOption and > createBoolOption. -- This message was sent by Atlassian JIRA (v6.3.4#6332)