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 "Daryn Sharp (JIRA)" <ji...@apache.org> on 2012/07/23 20:03:34 UTC
[jira] [Created] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Daryn Sharp created HADOOP-8613:
-----------------------------------
Summary: AbstractDelegationTokenIdentifier#getUser() should set token auth type
Key: HADOOP-8613
URL: https://issues.apache.org/jira/browse/HADOOP-8613
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 2.0.0-alpha, 0.23.0, 1.0.0, 3.0.0
Reporter: Daryn Sharp
Assignee: Daryn Sharp
Priority: Critical
{{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423076#comment-13423076 ]
Daryn Sharp commented on HADOOP-8613:
-------------------------------------
Test failure is unrelated.
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422701#comment-13422701 ]
Hadoop QA commented on HADOOP-8613:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12537895/HADOOP-8613-2.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 1 new or modified test files.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs:
org.apache.hadoop.hdfs.TestDFSClientRetries
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1218//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1218//console
This message is automatically generated.
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423997#comment-13423997 ]
Hudson commented on HADOOP-8613:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2548 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2548/])
HADOOP-8613. AbstractDelegationTokenIdentifier#getUser() should set token auth type. (daryn) (Revision 1366440)
Result = FAILURE
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1366440
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Fix For: 1.2.0, 0.23.3, 3.0.0, 2.2.0-alpha
>
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-8613:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0-alpha
3.0.0
0.23.3
1.2.0
Status: Resolved (was: Patch Available)
Thanks Owen! I've committed it.
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Fix For: 1.2.0, 0.23.3, 3.0.0, 2.2.0-alpha
>
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422655#comment-13422655 ]
Hadoop QA commented on HADOOP-8613:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12537900/HADOOP-8613-2.branch-1.patch
against trunk revision .
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1219//console
This message is automatically generated.
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424353#comment-13424353 ]
Hudson commented on HADOOP-8613:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk #1150 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1150/])
HADOOP-8613. AbstractDelegationTokenIdentifier#getUser() should set token auth type. (daryn) (Revision 1366440)
Result = FAILURE
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1366440
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Fix For: 1.2.0, 0.23.3, 3.0.0, 2.2.0-alpha
>
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423931#comment-13423931 ]
Owen O'Malley commented on HADOOP-8613:
---------------------------------------
+1
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-8613:
--------------------------------
Attachment: HADOOP-8613-2.patch
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422540#comment-13422540 ]
Owen O'Malley commented on HADOOP-8613:
---------------------------------------
Don't you need to pull the code out of JspHelper.getUGI that also sets the authentication method to TOKEN?
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423970#comment-13423970 ]
Hudson commented on HADOOP-8613:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #2528 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2528/])
HADOOP-8613. AbstractDelegationTokenIdentifier#getUser() should set token auth type. (daryn) (Revision 1366440)
Result = SUCCESS
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1366440
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422560#comment-13422560 ]
Daryn Sharp commented on HADOOP-8613:
-------------------------------------
I did that in the linked HDFS-3553 but I can pull it back into this patch too if you'd like.
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy closed HADOOP-8613.
---------------------------------
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Fix For: 0.23.3, 2.0.2-alpha
>
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-8613:
--------------------------------
Status: Patch Available (was: Open)
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.0.0-alpha, 0.23.0, 1.0.0, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420961#comment-13420961 ]
Hadoop QA commented on HADOOP-8613:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12537606/HADOOP-8613.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 1 new or modified test files.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1212//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1212//console
This message is automatically generated.
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-8613:
--------------------------------
Attachment: HADOOP-8613-2.branch-1.patch
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424340#comment-13424340 ]
Hudson commented on HADOOP-8613:
--------------------------------
Integrated in Hadoop-Hdfs-trunk #1118 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1118/])
HADOOP-8613. AbstractDelegationTokenIdentifier#getUser() should set token auth type. (daryn) (Revision 1366440)
Result = FAILURE
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1366440
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Fix For: 1.2.0, 0.23.3, 3.0.0, 2.2.0-alpha
>
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-8613:
--------------------------------
Attachment: HADOOP-8613.patch
HADOOP-8613.branch-1.patch
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423968#comment-13423968 ]
Hudson commented on HADOOP-8613:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2592 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2592/])
HADOOP-8613. AbstractDelegationTokenIdentifier#getUser() should set token auth type. (daryn) (Revision 1366440)
Result = SUCCESS
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1366440
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8613)
AbstractDelegationTokenIdentifier#getUser() should set token auth type
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424335#comment-13424335 ]
Hudson commented on HADOOP-8613:
--------------------------------
Integrated in Hadoop-Hdfs-0.23-Build #327 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/327/])
svn merge -c 1366440 FIXES: HADOOP-8613. AbstractDelegationTokenIdentifier#getUser() should set token auth type. (daryn) (Revision 1366462)
Result = SUCCESS
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1366462
Files :
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
> AbstractDelegationTokenIdentifier#getUser() should set token auth type
> ----------------------------------------------------------------------
>
> Key: HADOOP-8613
> URL: https://issues.apache.org/jira/browse/HADOOP-8613
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Fix For: 1.2.0, 0.23.3, 3.0.0, 2.2.0-alpha
>
> Attachments: HADOOP-8613-2.branch-1.patch, HADOOP-8613-2.patch, HADOOP-8613.branch-1.patch, HADOOP-8613.patch
>
>
> {{AbstractDelegationTokenIdentifier#getUser()}} returns the UGI associated with a token. The UGI's auth type will either be SIMPLE for non-proxy tokens, or PROXY (effective user) and SIMPLE (real user). Instead of SIMPLE, it needs to be TOKEN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira