diff --git a/hbase-shell/src/main/ruby/hbase/visibility_labels.rb b/hbase-shell/src/main/ruby/hbase/visibility_labels.rb index 47df48a8387..676903f719e 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