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 "Matthew Paduano (JIRA)" <ji...@apache.org> on 2016/05/06 23:35:12 UTC

[jira] [Updated] (HADOOP-13112) Change CredentialShell to use CommandShell base class

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

Matthew Paduano updated HADOOP-13112:
-------------------------------------
    Status: Patch Available  (was: Open)


.../hadoop/security/alias/CredentialShell.java     | 159 ++++++++-------------
.../java/org/apache/hadoop/tools/CommandShell.java |   2 +-
2 files changed, 63 insertions(+), 98 deletions(-)

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.security.alias.TestCredShell
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.22 sec - in org.apache.hadoop.security.alias.TestCredShell

Running org.apache.hadoop.security.token.TestDtUtilShell
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.014 sec - in org.apache.hadoop.security.token.TestDtUtilShell

Running org.apache.hadoop.tools.TestCommandShell
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 sec - in org.apache.hadoop.tools.TestCommandShell


> Change CredentialShell to use CommandShell base class
> -----------------------------------------------------
>
>                 Key: HADOOP-13112
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13112
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Matthew Paduano
>            Assignee: Matthew Paduano
>            Priority: Minor
>         Attachments: HADOOP-13112.01.patch
>
>
> org.apache.hadoop.tools.CommandShell is a base class created for use by DtUtilShell.  It was inspired by CredentialShell and much of it was taken verbatim.  It should be a simple change to get CredentialShell to use the base class and simplify its code without changing its functionality.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org