hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8585) Fix initialization circularity between UserGroupInformation and HadoopConfiguration
Date Sat, 14 Jul 2012 00:06:35 GMT

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

Aaron T. Myers commented on HADOOP-8585:
----------------------------------------

bq. Clearly they have the same effect, because the configuration doesn't have any state. The
new approach just creates a throw away object for each invocation.

This is not really a "new" approach. This is going back to the way it was done before HDFS-3568.

bq. In the future, you should probably just revert the previous fix and update it rather than
create a new jira the next day.

We routinely file follow-up JIRAs to fix trivial problems that were introduced by a recent
commit. I don't see how this is any different.
                
> Fix initialization circularity between UserGroupInformation and HadoopConfiguration
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8585
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8585
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.1-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.1-alpha
>
>         Attachments: HDFS-3632.001.patch
>
>
> Fix findbugs warning about initialization circularity between UserGroupInformation and
UserGroupInformation#HadoopConfiguration.
> From the findbugs text:
> {code}
> Initialization circularity between org.apache.hadoop.security.UserGroupInformation and
org.apache.hadoop.security.UserGroupInformation$HadoopConfiguration
> 	
> Bug type IC_INIT_CIRCULARITY (click for details)
> In class org.apache.hadoop.security.UserGroupInformation
> In class org.apache.hadoop.security.UserGroupInformation$HadoopConfiguration
> At UserGroupInformation.java:[lines 76-1395]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message