You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2015/08/13 18:57:13 UTC

[1/4] hbase git commit: HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.

Repository: hbase
Updated Branches:
  refs/heads/0.98 a3914d66c -> 8b9ed1c23
  refs/heads/branch-1.0 50a557193 -> be5a8c51d
  refs/heads/branch-1.1 589c2f5cf -> 67e67b455
  refs/heads/branch-1.2 59c731b24 -> c0a3a8a19


HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.


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

Branch: refs/heads/branch-1.2
Commit: c0a3a8a193ab45c2b6cc8f56d8207e78735f5a17
Parents: 59c731b
Author: anoopsjohn <an...@gmail.com>
Authored: Thu Aug 13 14:32:59 2015 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Aug 13 09:56:37 2015 -0700

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/visibility_labels.rb | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c0a3a8a1/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
index 47df48a..676903f 100644
--- a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
+++ b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
@@ -94,9 +94,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getAuthList.empty?
-          raise(ArgumentError, "No authentication set for the given user " + user)
-        end
         return response.getAuthList
       end
     end
@@ -108,9 +105,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getLabelList.empty?
-          raise(ArgumentError, "No auth label defined")
-        end
         return response.getLabelList
       end
     end


[4/4] hbase git commit: HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.

Posted by ap...@apache.org.
HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.


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

Branch: refs/heads/0.98
Commit: 8b9ed1c2358926d4b9abe6d627137eb497e7825b
Parents: a3914d6
Author: anoopsjohn <an...@gmail.com>
Authored: Thu Aug 13 14:32:59 2015 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Aug 13 09:56:52 2015 -0700

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/visibility_labels.rb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8b9ed1c2/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
index b8b3a78..c591d9e 100644
--- a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
+++ b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
@@ -90,9 +90,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getAuthList.empty?
-          raise(ArgumentError, "No authentication set for the given user " + user)
-        end
         return response.getAuthList
       end
     end
@@ -104,9 +101,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getLabelList.empty?
-          raise(ArgumentError, "No auth label defined")
-        end
         return response.getLabelList
       end
     end
@@ -158,4 +152,4 @@ module Hbase
       @admin.tableExists(table_name)
     end
   end
-end
\ No newline at end of file
+end


[3/4] hbase git commit: HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.

Posted by ap...@apache.org.
HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.


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

Branch: refs/heads/branch-1.0
Commit: be5a8c51df33805572463ae43825af702037eed5
Parents: 50a5571
Author: anoopsjohn <an...@gmail.com>
Authored: Thu Aug 13 14:32:59 2015 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Aug 13 09:56:47 2015 -0700

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/visibility_labels.rb | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/be5a8c51/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
index a3f8b1a..4b99bf9 100644
--- a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
+++ b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
@@ -94,9 +94,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getAuthList.empty?
-          raise(ArgumentError, "No authentication set for the given user " + user)
-        end
         return response.getAuthList
       end
     end
@@ -108,9 +105,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getLabelList.empty?
-          raise(ArgumentError, "No auth label defined")
-        end
         return response.getLabelList
       end
     end


[2/4] hbase git commit: HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.

Posted by ap...@apache.org.
HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.


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

Branch: refs/heads/branch-1.1
Commit: 67e67b4552ae2d406bc3ad755caad75f592b199b
Parents: 589c2f5
Author: anoopsjohn <an...@gmail.com>
Authored: Thu Aug 13 14:32:59 2015 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Aug 13 09:56:44 2015 -0700

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/visibility_labels.rb | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/67e67b45/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
index a3f8b1a..4b99bf9 100644
--- a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
+++ b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb
@@ -94,9 +94,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getAuthList.empty?
-          raise(ArgumentError, "No authentication set for the given user " + user)
-        end
         return response.getAuthList
       end
     end
@@ -108,9 +105,6 @@ module Hbase
         if response.nil?
           raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
         end
-        if response.getLabelList.empty?
-          raise(ArgumentError, "No auth label defined")
-        end
         return response.getLabelList
       end
     end