hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10177) Create CLI tools for managing keys via the KeyProvider API
Date Tue, 14 Jan 2014 00:53:00 GMT

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

Owen O'Malley commented on HADOOP-10177:
----------------------------------------

Comments:
* Add tests.
* Please keep the text to 79 columns.
* allow Command.execute to throw Exception.
* Add a help command including the non-standard options like --provider.
* All of the commands should use the first non-transient provider unless there is only one
provider. (typically because the user specified --provider)
* make all of the commands throw out of execute so that the cli tool exits with a non-zero
exit code.
* the CreateCommand shouldn't create a Metadata directly, since that isn't public API. Maybe
we should change createKey so that it doesn't create any key versions and then add a follow
up call to rollNewVersion.

> Create CLI tools for managing keys via the KeyProvider API
> ----------------------------------------------------------
>
>                 Key: HADOOP-10177
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10177
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Owen O'Malley
>            Assignee: Larry McCay
>         Attachments: 10177.patch
>
>
> The KeyProvider API provides access to keys, but we need CLI tools to provide the ability
to create and delete keys. I'd think it would look something like:
> {code}
> % hadoop key -create key1
> % hadoop key -roll key1
> % hadoop key -list key1
> % hadoop key -delete key1
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message