You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2016/07/20 13:32:20 UTC

[jira] [Commented] (HADOOP-13391) Make uses of OptionsBuilder synchronized on OptionsBuilder.class

    [ https://issues.apache.org/jira/browse/HADOOP-13391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385859#comment-15385859 ] 

Chris Nauroth commented on HADOOP-13391:
----------------------------------------

Linking 2 related JIRAs where this issue came up at specific points in the codebase.

> Make uses of OptionsBuilder synchronized on OptionsBuilder.class
> ----------------------------------------------------------------
>
>                 Key: HADOOP-13391
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13391
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Steve Loughran
>
> HADOOP-13179 fixed one place where the non-thread-safe {{OptionsBuilder}} class was potentially vulnerable to race conditions. But it didn't address all other uses in the codebase, so the problem still exists.
> We need a common object so synchronize off, of which {{OptionsBuilder.class}} is the obvious choice



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

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