[
https://issues.apache.org/jira/browse/HADOOP-10475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963563#comment-13963563
]
Jing Zhao commented on HADOOP-10475:
------------------------------------
Looks like the issue is that AbstractDelegationTokenSelector#selectToken tries
to iterate the tokensMap, while another thread tries to add a new token to the
UGI. The monitor of UGI cannot prevent this race, since the
UserGroupInformation#getTokens returns the whole token map.
> ConcurrentModificationException in
> AbstractDelegationTokenSelector.selectToken()
> --------------------------------------------------------------------------------
>
> Key: HADOOP-10475
> URL: https://issues.apache.org/jira/browse/HADOOP-10475
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.4.0
> Reporter: Arpit Gupta
> Assignee: Jing Zhao
>
> While running a hive job on a HA cluster saw ConcurrentModificationException
> in AbstractDelegationTokenSelector.selectToken()
--
This message was sent by Atlassian JIRA
(v6.2#6252)