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

Hudson commented on HADOOP-10489:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5606 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5606/])
HADOOP-10489. UserGroupInformation#getTokens and UserGroupInformation#addToken 
can lead to ConcurrentModificationException. Contributed by Robert Kanter. 
(atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1596020)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java


> UserGroupInformation#getTokens and UserGroupInformation#addToken can lead to 
> ConcurrentModificationException
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10489
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10489
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Jing Zhao
>            Assignee: Robert Kanter
>             Fix For: 2.5.0
>
>         Attachments: HADOOP-10489.patch
>
>
> Currently UserGroupInformation#getTokens and UserGroupInformation#addToken 
> uses UGI's monitor to protect the iteration and modification of 
> Credentials#tokenMap. Per 
> [discussion|https://issues.apache.org/jira/browse/HADOOP-10475?focusedCommentId=13965851&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13965851]
>  in HADOOP-10475, this can still lead to ConcurrentModificationException.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to