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 Fri, 20 Mar 2015 09:44:16 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 38286ec3a -> 3566e7e9b


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/3566e7e9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3566e7e9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3566e7e9

Branch: refs/heads/0.98
Commit: 3566e7e9bf0b3fe6cd1ab9b01d42bc1136dd51f0
Parents: 38286ec
Author: anoopsjohn <anoopsamjohn@gmail.com>
Authored: Fri Mar 20 15:13:58 2015 +0530
Committer: anoopsjohn <anoopsamjohn@gmail.com>
Committed: Fri Mar 20 15:13:58 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/3566e7e9/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/3566e7e9/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/3566e7e9/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