From issues-return-333937-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Thu Feb 15 21:22:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6FC3A18064A for ; Thu, 15 Feb 2018 21:22:04 +0100 (CET) Received: (qmail 20123 invoked by uid 500); 15 Feb 2018 20:22:03 -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 20112 invoked by uid 99); 15 Feb 2018 20:22:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2018 20:22:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 04EE61A06DC for ; Thu, 15 Feb 2018 20:22:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id oTvXtWJ1rOMI for ; Thu, 15 Feb 2018 20:22:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9B6885F286 for ; Thu, 15 Feb 2018 20:22:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DEC2AE021F for ; Thu, 15 Feb 2018 20:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4F4E221E5D for ; Thu, 15 Feb 2018 20:22:00 +0000 (UTC) Date: Thu, 15 Feb 2018 20:22:00 +0000 (UTC) From: "Josh Elser (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-19770) Add '--return-values' option to Shell to print return values of commands in interactive mode 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-19770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser updated HBASE-19770: ------------------------------- Fix Version/s: 1.4.2 1.5.0 > Add '--return-values' option to Shell to print return values of commands in interactive mode > -------------------------------------------------------------------------------------------- > > Key: HBASE-19770 > URL: https://issues.apache.org/jira/browse/HBASE-19770 > Project: HBase > Issue Type: Improvement > Components: shell > Reporter: Romil Choksi > Assignee: Josh Elser > Priority: Critical > Fix For: 1.5.0, 2.0.0-beta-2, 1.4.2 > > Attachments: HBASE-19770.000.branch-2.addendum.patch, HBASE-19770.001.branch-2.patch, HBASE-19770.002.branch-2.patch, HBASE-19770.003.branch-2.patch, HBASE-19770.004.branch-2.patch, HBASE-19770.ADDENDUM.branch-2.patch > > > Another good find by our Romil. > {code} > hbase(main):001:0> list > TABLE > a > 1 row(s) > Took 0.8385 seconds > hbase(main):002:0> tables=list > TABLE > a > 1 row(s) > Took 0.0267 seconds > hbase(main):003:0> puts tables > hbase(main):004:0> p tables > nil > {code} > The {{list}} command should be returning {{\['a'\]}} but is not. > The command class itself appears to be doing the right thing -- maybe the retval is getting lost somewhere else? > FYI [~stack]. -- This message was sent by Atlassian JIRA (v7.6.3#76005)