From 006201f270c1bb009c607e573a3ae5e01abb2a65 Mon Sep 17 00:00:00 2001 From: Ashish Singhi Date: Sun, 30 Nov 2014 14:37:46 +0530 Subject: [PATCH] HBASE-12601 Explain how to grant permission to a group in grant command usage --- hbase-shell/src/main/ruby/shell/commands/grant.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hbase-shell/src/main/ruby/shell/commands/grant.rb b/hbase-shell/src/main/ruby/shell/commands/grant.rb index e881baa..8d10c73 100644 --- a/hbase-shell/src/main/ruby/shell/commands/grant.rb +++ b/hbase-shell/src/main/ruby/shell/commands/grant.rb @@ -27,11 +27,13 @@ Syntax : grant [<@namespace> [ [ [ grant 'bobsmith', 'RWXCA' + hbase> grant '@admins', 'RWXCA' hbase> grant 'bobsmith', 'RWXCA', '@ns1' hbase> grant 'bobsmith', 'RW', 't1', 'f1', 'col1' hbase> grant 'bobsmith', 'RW', 'ns1:t1', 'f1', 'col1' -- 1.9.2.msysgit.0