hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Nauroth <cnaur...@hortonworks.com>
Subject Re: Is Hadoop's TooRunner thread-safe?
Date Wed, 18 May 2016 18:05:41 GMT

Thank you for reporting this.  The root cause is that commons-cli
OptionBuilder is not thread-safe.


According to this issue, commons-cli doesn't plan to change that and
instead chose to document the lack of thread-safety.


I think we can solve this in Hadoop, probably with a one-line change to
make GenericOptionsParser#buildGeneralOptions a synchronized method.

I'm not aware of any existing JIRA that tracks this.  Would you be
interested in filing a new JIRA, and possibly contributing a patch?

--Chris Nauroth

On 5/17/16, 7:10 PM, "hongbin ma" <mahongbin@apache.org> wrote:

>Hi experts
>I'm running into similar issues like
>the author's observation seem to make sense to me. However when I checked
>the hadoop github trunk I found the issue still not fixed.
>Is there any JIRA tracking this issue? Or it is "Not a Problem"?

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

View raw message