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 BA0411826B for ; Sat, 2 May 2015 02:21:09 +0000 (UTC) Received: (qmail 65399 invoked by uid 500); 2 May 2015 02:21:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 65350 invoked by uid 500); 2 May 2015 02:21:09 -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 65338 invoked by uid 99); 2 May 2015 02:21:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2015 02:21:09 +0000 Date: Sat, 2 May 2015 02:21:09 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11658) Piped commands to hbase shell should return non-zero if shell command failed. 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-11658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524475#comment-14524475 ] Hudson commented on HBASE-11658: -------------------------------- FAILURE: Integrated in HBase-1.2 #55 (See [https://builds.apache.org/job/HBase-1.2/55/]) HBASE-11658 Piped commands to hbase shell should return non-zero if shell command failed (Sean Busbey) (enis: rev d90523355e16d9acb9c44e8e72726df481398d75) * hbase-shell/src/main/ruby/shell.rb * hbase-shell/src/test/ruby/shell/shell_test.rb * hbase-shell/src/test/ruby/shell/noninteractive_test.rb * bin/hirb.rb * hbase-shell/src/main/ruby/shell/commands.rb > Piped commands to hbase shell should return non-zero if shell command failed. > ----------------------------------------------------------------------------- > > Key: HBASE-11658 > URL: https://issues.apache.org/jira/browse/HBASE-11658 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 2.0.0 > Reporter: Jonathan Hsieh > Assignee: Sean Busbey > Fix For: 2.0.0, 0.98.13, 1.2.0 > > Attachments: HBASE-11658.manual_test.log, HBASE-11658.patch, HBASE_11658-v2.patch, test_shell.sh > > > See HBASE-11655. We would like the shell to return non-zero when a command that has been piped to it fails in "scripting mode". This could be due to invalid commands or commands issued with invalid arguments. > This would lower the barrier to entry for hbase admins so they could effectively script some operations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)