hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11174) Delegation token for KMS should only be got once if it already exists
Date Wed, 08 Oct 2014 11:23:34 GMT

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

Hadoop QA commented on HADOOP-11174:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12673556/HDFS-7205.001.patch
  against trunk revision 1efd9c9.

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in hadoop-common-project/hadoop-common
hadoop-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencingWithReplication

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/4875//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/4875//console

This message is automatically generated.

> Delegation token for KMS should only be got once if it already exists
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-11174
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11174
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms, security
>    Affects Versions: 2.6.0
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HDFS-7205.001.patch
>
>
> When submit MapReduce job in security mode, we need to collect delegation tokens (i.e.
delegation token for NameNode, KMS).
> {{addDelegationTokens}} is invoked several times, currently dt for NN is got only once
if exists.  But  dt for KMS is got every time, we should fix this.
> Running in real cluster:
> {quote}
> 14/10/08 02:30:52 INFO security.TokenCache: Got dt for hdfs://hnode1.sh.intel.com:9000;
Kind: HDFS_DELEGATION_TOKEN, Service: 10.239.47.8:9000, Ident: (HDFS_DELEGATION_TOKEN token
13 for user)
> 14/10/08 02:30:52 WARN token.Token: Cannot find class for token kind kms-dt
> 14/10/08 02:30:52 INFO security.TokenCache: Got dt for hdfs://hnode1.sh.intel.com:9000;
Kind: kms-dt, Service: 10.239.47.8:16000, Ident: 00 04 75 73 65 72 04 79 61 72 6e 00 8a 01
48 eb e0 d2 76 8a 01 49 0f ed 56 76 06 02
> 14/10/08 02:30:53 WARN token.Token: Cannot find class for token kind kms-dt
> 14/10/08 02:30:53 INFO security.TokenCache: Got dt for hdfs://hnode1.sh.intel.com:9000;
Kind: kms-dt, Service: 10.239.47.8:16000, Ident: 00 04 75 73 65 72 04 79 61 72 6e 00 8a 01
48 eb e0 d3 85 8a 01 49 0f ed 57 85 07 02
> 14/10/08 02:30:53 WARN token.Token: Cannot find class for token kind kms-dt
> 14/10/08 02:30:53 INFO security.TokenCache: Got dt for hdfs://hnode1.sh.intel.com:9000;
Kind: kms-dt, Service: 10.239.47.8:16000, Ident: 00 04 75 73 65 72 04 79 61 72 6e 00 8a 01
48 eb e0 d3 8e 8a 01 49 0f ed 57 8e 08 02
> 14/10/08 02:30:53 WARN token.Token: Cannot find class for token kind kms-dt
> 14/10/08 02:30:53 INFO security.TokenCache: Got dt for hdfs://hnode1.sh.intel.com:9000;
Kind: kms-dt, Service: 10.239.47.8:16000, Ident: 00 04 75 73 65 72 04 79 61 72 6e 00 8a 01
48 eb e0 d4 ef 8a 01 49 0f ed 58 ef 09 02
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message