[ 
https://issues.apache.org/jira/browse/HADOOP-16079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-16079:
------------------------------------
    Description: 
The patch in HADOOP-15808 turns out not to be enough; Token.toString() fails if 
any token in the service lists isn't known.

If any JAR lists a class in 
META-INF/services/org.apache.hadoop.security.token.TokenIdentifier which refers 
to a class which for any reason cannot load (e.g. it depends on a class which 
is in a JAR that is not on the classpath), then the enumeration of all tokens 
and their supported kinds will fail. This can surface in Token.toString(), but 
it will also break the RM token renewal thread. 


  was:The patch in HADOOP-15808 turns out not to be enough; Token.toString() 
fails if any token in the service lists isn't known.


> Token.toString faulting if any token listed can't load.
> -------------------------------------------------------
>
>                 Key: HADOOP-16079
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16079
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 3.1.2, 3.2.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 3.2.1, 3.1.3
>
>         Attachments: HADOOP-16079-001.patch
>
>
> The patch in HADOOP-15808 turns out not to be enough; Token.toString() fails 
> if any token in the service lists isn't known.
> If any JAR lists a class in 
> META-INF/services/org.apache.hadoop.security.token.TokenIdentifier which 
> refers to a class which for any reason cannot load (e.g. it depends on a 
> class which is in a JAR that is not on the classpath), then the enumeration 
> of all tokens and their supported kinds will fail. This can surface in 
> Token.toString(), but it will also break the RM token renewal thread. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to