Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF52E1874B for ; Thu, 13 Aug 2015 16:57:23 +0000 (UTC) Received: (qmail 11813 invoked by uid 500); 13 Aug 2015 16:57:14 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 11695 invoked by uid 500); 13 Aug 2015 16:57:14 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 11582 invoked by uid 99); 13 Aug 2015 16:57:14 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2015 16:57:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E9AA9E7136; Thu, 13 Aug 2015 16:57:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: apurtell@apache.org To: commits@hbase.apache.org Date: Thu, 13 Aug 2015 16:57:15 -0000 Message-Id: <8a7b2177b04d4b60bb04a720ab8ae2f0@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [3/4] hbase git commit: HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined. 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 Authored: Thu Aug 13 14:32:59 2015 +0530 Committer: Andrew Purtell 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