hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoopsamj...@apache.org
Subject hbase git commit: HBASE-13006 Document visibility label support for groups. (Jerry He)
Date Thu, 19 Mar 2015 03:50:16 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 e283a210e -> 78a55ac71


HBASE-13006 Document visibility label support for groups. (Jerry He)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/78a55ac7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/78a55ac7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/78a55ac7

Branch: refs/heads/branch-1
Commit: 78a55ac71ac58497075c4e2e5ee4e4614d196f8f
Parents: e283a21
Author: anoopsjohn <anoopsamjohn@gmail.com>
Authored: Thu Mar 19 09:19:44 2015 +0530
Committer: anoopsjohn <anoopsamjohn@gmail.com>
Committed: Thu Mar 19 09:19:44 2015 +0530

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/shell/commands/clear_auths.rb | 5 +++--
 hbase-shell/src/main/ruby/shell/commands/get_auths.rb   | 5 +++--
 hbase-shell/src/main/ruby/shell/commands/set_auths.rb   | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/78a55ac7/hbase-shell/src/main/ruby/shell/commands/clear_auths.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/clear_auths.rb b/hbase-shell/src/main/ruby/shell/commands/clear_auths.rb
index 7bf4252..8553fa6 100644
--- a/hbase-shell/src/main/ruby/shell/commands/clear_auths.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/clear_auths.rb
@@ -20,12 +20,13 @@ module Shell
     class ClearAuths < Command
       def help
         return <<-EOF
-Add a set of visibility labels for an user that has to removed
-Syntax : clear_auths 'user1',[label1, label2]
+Clear visibility labels from a user or group
+Syntax : clear_auths 'user',[label1, label2]
 
 For example:
 
     hbase> clear_auths 'user1', ['SECRET','PRIVATE']
+    hbase> clear_auths '@group1', ['SECRET','PRIVATE']
 EOF
       end
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/78a55ac7/hbase-shell/src/main/ruby/shell/commands/get_auths.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/get_auths.rb b/hbase-shell/src/main/ruby/shell/commands/get_auths.rb
index 2bc3e09..1b758ef 100644
--- a/hbase-shell/src/main/ruby/shell/commands/get_auths.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/get_auths.rb
@@ -20,12 +20,13 @@ module Shell
     class GetAuths < Command
       def help
         return <<-EOF
-Get the visibility labels set for a particular user
-Syntax : get_auths 'user1'
+Get the visibility labels set for a particular user or group
+Syntax : get_auths 'user'
 
 For example:
 
     hbase> get_auths 'user1'
+    hbase> get_auths '@group1'
 EOF
       end
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/78a55ac7/hbase-shell/src/main/ruby/shell/commands/set_auths.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/set_auths.rb b/hbase-shell/src/main/ruby/shell/commands/set_auths.rb
index 6679719..4a52eb0 100644
--- a/hbase-shell/src/main/ruby/shell/commands/set_auths.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/set_auths.rb
@@ -20,12 +20,13 @@ module Shell
     class SetAuths < Command
       def help
         return <<-EOF
-Add a set of visibility labels for an user
-Syntax : set_auths 'user1',[label1, label2]
+Add a set of visibility labels for a user or group
+Syntax : set_auths 'user',[label1, label2]
 
 For example:
 
     hbase> set_auths 'user1', ['SECRET','PRIVATE']
+    hbase> set_auths '@group1', ['SECRET','PRIVATE']
 EOF
       end
 


Mime
View raw message