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 "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2012/11/19 18:37:58 UTC
[jira] [Created] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Karthik Kambatla created HADOOP-9064:
----------------------------------------
Summary: Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
Key: HADOOP-9064
URL: https://issues.apache.org/jira/browse/HADOOP-9064
Project: Hadoop Common
Issue Type: Bug
Components: security
Affects Versions: 2.0.2-alpha
Reporter: Karthik Kambatla
Assignee: Karthik Kambatla
Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502361#comment-13502361 ]
Hadoop QA commented on HADOOP-9064:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12554561/hadoop-9064.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 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}. The javadoc tool did not generate any warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse.
{color:red}-1 findbugs{color}. The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1792//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/1792//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1792//console
This message is automatically generated.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502322#comment-13502322 ]
Alejandro Abdelnur commented on HADOOP-9064:
--------------------------------------------
I don't see a reason for removeRenewAction() to have param not to cancel, the current usage of this is always t cancel. I'd just cancel and if we ever need a conditional cancel, then we introduce the boolean param.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Karthik Kambatla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated HADOOP-9064:
-------------------------------------
Attachment: hadoop-9064.patch
Posting the patch that augments the API as in the description.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Karthik Kambatla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated HADOOP-9064:
-------------------------------------
Attachment: hadoop-9064.patch
Changed the logging in removeRenewAction()
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Karthik Kambatla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated HADOOP-9064:
-------------------------------------
Attachment: hadoop-9064.patch
Uploading a path that does the following:
# Add findbugs exclusion for the reported warning: {{removeRenewAction}} defines a generic type T that extends both {{FileSystem}} and {{Renewable}}. findbugs was reporting warning about casting {{T}} to {{Renewable}}
# Merge tests for addRenewAction and removeRenewAction to remove redundancy, and bump up the loop counter to accommodate any external delays. This increase shouldn't affect the run time though.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504188#comment-13504188 ]
Hadoop QA commented on HADOOP-9064:
-----------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12554919/hadoop-9064.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 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}. The javadoc tool did not generate any 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 1.3.9) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in hadoop-common-project/hadoop-common.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1823//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1823//console
This message is automatically generated.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505361#comment-13505361 ]
Hudson commented on HADOOP-9064:
--------------------------------
Integrated in Hadoop-Yarn-trunk #50 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/50/])
HADOOP-9064. Ameding CHANGES.txt with correct JIRA ID, wrongfully used HADOOP-9084 before (tucu) (Revision 1414347)
Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1414347
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Fix For: 2.0.3-alpha
>
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Karthik Kambatla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated HADOOP-9064:
-------------------------------------
Status: Patch Available (was: Open)
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Karthik Kambatla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated HADOOP-9064:
-------------------------------------
Attachment: hadoop-9064.patch
Thanks Alejandro. Here is an updated patch incorporating your comments.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur updated HADOOP-9064:
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.3-alpha
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks Karthik. Committed to trunk and branch-2.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Fix For: 2.0.3-alpha
>
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502436#comment-13502436 ]
Hadoop QA commented on HADOOP-9064:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12554587/hadoop-9064.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 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}. The javadoc tool did not generate any warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse.
{color:red}-1 findbugs{color}. The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in hadoop-common-project/hadoop-common.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1795//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/1795//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1795//console
This message is automatically generated.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504883#comment-13504883 ]
Hudson commented on HADOOP-9064:
--------------------------------
Integrated in Hadoop-trunk-Commit #3063 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3063/])
HADOOP-9064. Ameding CHANGES.txt with correct JIRA ID, wrongfully used HADOOP-9084 before (tucu) (Revision 1414347)
Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1414347
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Fix For: 2.0.3-alpha
>
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504840#comment-13504840 ]
Alejandro Abdelnur commented on HADOOP-9064:
--------------------------------------------
+1
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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] [Commented] (HADOOP-9064) Augment DelegationTokenRenewer API
to cancel the tokens on calls to removeRenewAction
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502396#comment-13502396 ]
Hadoop QA commented on HADOOP-9064:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12554566/hadoop-9064.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 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}. The javadoc tool did not generate any warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse.
{color:red}-1 findbugs{color}. The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1793//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/1793//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1793//console
This message is automatically generated.
> Augment DelegationTokenRenewer API to cancel the tokens on calls to removeRenewAction
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-9064
> URL: https://issues.apache.org/jira/browse/HADOOP-9064
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.0.2-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9064.patch, hadoop-9064.patch, hadoop-9064.patch
>
>
> Post HADOOP-9049, FileSystems register with DelegationTokenRenewer (a singleton), to renew tokens.
> To avoid a bunch of defunct tokens clog the NN, we should augment the API to {{#removeRenewAction(boolean cancel)}} and cancel the token appropriately.
--
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