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 "Jing Zhao (JIRA)" <ji...@apache.org> on 2014/04/09 00:49:15 UTC
[jira] [Commented] (HADOOP-10475) ConcurrentModificationException
in AbstractDelegationTokenSelector.selectToken()
[ 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)