Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A5C2184A4 for ; Thu, 13 Aug 2015 21:00:51 +0000 (UTC) Received: (qmail 44351 invoked by uid 500); 13 Aug 2015 21:00:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 44290 invoked by uid 500); 13 Aug 2015 21:00:46 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 44275 invoked by uid 99); 13 Aug 2015 21:00:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2015 21:00:46 +0000 Date: Thu, 13 Aug 2015 21:00:46 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14214) list_labels shouldn't raise ArgumentError if no labels are defined MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695936#comment-14695936 ] Hudson commented on HBASE-14214: -------------------------------- FAILURE: Integrated in HBase-1.2 #108 (See [https://builds.apache.org/job/HBase-1.2/108/]) HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined. (apurtell: rev c0a3a8a193ab45c2b6cc8f56d8207e78735f5a17) * hbase-shell/src/main/ruby/hbase/visibility_labels.rb > list_labels shouldn't raise ArgumentError if no labels are defined > ------------------------------------------------------------------- > > Key: HBASE-14214 > URL: https://issues.apache.org/jira/browse/HBASE-14214 > Project: HBase > Issue Type: Bug > Reporter: Andrew Purtell > Assignee: Anoop Sam John > Priority: Minor > Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.1.2, 1.3.0 > > Attachments: HBASE-14214.patch > > > list_labels shouldn't raise ArgumentError if no labels are defined. The empty list is a valid return case, and anyway ArgumentError should be used when arguments to the command are erroneous. Here the command is well formed: > {noformat} > hbase(main):001:0> list_labels > ERROR: No auth label defined > Here is some help for this command: > List the visibility labels defined in the system. > Optional regular expression parameter could be used to filter the labels being returned. > Syntax : list_labels > For example: > hbase> list_labels 'secret.*' > hbase> list_labels > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)