accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Marion (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1722) add the ability to dump user permissions to the dumpConfig admin command
Date Thu, 27 Nov 2014 02:12:13 GMT


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 -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:
>             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

View raw message