You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Dave Marion (JIRA)" <ji...@apache.org> on 2014/11/27 03:12:13 UTC
[jira] [Commented] (ACCUMULO-1722) add the ability to dump user
permissions to the dumpConfig admin command
[ https://issues.apache.org/jira/browse/ACCUMULO-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227138#comment-14227138 ]
Dave Marion commented on ACCUMULO-1722:
---------------------------------------
[~ecn] [~ctubbsii] I am not familiar with namespaces or their permissions. They seem duplicative of system permissions, is that correct? There also seems to be an accumulo namespace and a "" namespace. Shall I skip the "" namespace? I think everything looks ok, but was wondering if you could check the syntax in the resulting files when you get a chance. Steps:
1. Apply patch
2. mkdir /tmp/backup
3. Run the following commands in the shell:
createnamespace foo
config -ns foo -s table.cache.index.enable=false
createtable baz
createtable foo.baz
createuser me
setauths -u me -s a,b,c,d
grant Namespace.CREATE_TABLE -ns foo -u me
grant Namespace.ALTER_TABLE -ns foo -u me
grant Namespace.BULK_IMPORT -ns foo -u me
createuser you
grant Table.READ -t foo.bar -u you
grant Table.READ -t foo.baz -u you
4. Run the following command on the command line:
./accumulo admin dumpConfig -a -d /tmp/backup
5. Optionally, you can run them separately:
./accumulo admin dumpConfig -s -d /tmp/backup
./accumulo admin dumpConfig -n -d /tmp/backup
./accumulo admin dumpConfig -t foo.baz -d /tmp/backup
./accumulo admin dumpConfig -u -d /tmp/backup
> add the ability to dump user permissions to the dumpConfig admin command
> ------------------------------------------------------------------------
>
> Key: ACCUMULO-1722
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1722
> Project: Accumulo
> Issue Type: Sub-task
> Components: shell
> Reporter: Eric Newton
> Assignee: Dave Marion
> Priority: Minor
> Labels: newbie
> Attachments: ACCUMULO-1722-1.patch, ACCUMULO-1722-2.patch
>
>
> See parent ticket. It would be nice to get a set of createuser commands along with all the grant commands necessary to reproduce the current user set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)