hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10475) ConcurrentModificationException in AbstractDelegationTokenSelector.selectToken()
Date Tue, 08 Apr 2014 23:00:16 GMT

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

Jing Zhao commented on HADOOP-10475:
------------------------------------

Currently we directly get the whole token map through UserGroupInformation#getTokens, and
pass it around for works like token selection. Instead of doing this, we may want to provide
a different API in UGI class which takes token selector as parameter and process the token
selection.

Another quick and simple fix is to use a ConcurrentMap for Credentials#tokenMap.

> 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)

Mime
View raw message