Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DA4C7200B3C for ; Mon, 27 Jun 2016 10:25:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D8E43160A3C; Mon, 27 Jun 2016 08:25:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 535E7160A5B for ; Mon, 27 Jun 2016 10:25:53 +0200 (CEST) Received: (qmail 68946 invoked by uid 500); 27 Jun 2016 08:25:52 -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 68923 invoked by uid 99); 27 Jun 2016 08:25:52 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 08:25:52 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0FE962C1F60 for ; Mon, 27 Jun 2016 08:25:52 +0000 (UTC) Date: Mon, 27 Jun 2016 08:25:52 +0000 (UTC) From: "Heng Chen (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16111) Truncate preserve shell command is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Jun 2016 08:25:54 -0000 [ https://issues.apache.org/jira/browse/HBASE-16111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350626#comment-15350626 ] Heng Chen commented on HBASE-16111: ----------------------------------- Thanks [~mbertozzi] for your review. Push to master > Truncate preserve shell command is broken > ----------------------------------------- > > Key: HBASE-16111 > URL: https://issues.apache.org/jira/browse/HBASE-16111 > Project: HBase > Issue Type: Bug > Components: shell > Reporter: Elliott Clark > Labels: shell > Fix For: 2.0.0 > > Attachments: HBASE-16111.patch > > > On a recent version of master I get this: > {code} > hbase(main):001:0> truncate_preserve 'TestTable' > ERROR: undefined local variable or method `table' for # > Here is some help for this command: > Disables, drops and recreates the specified table while still maintaing the previous region boundaries. > Took 0.0290 seconds > hbase(main):002:0> truncate 'TestTable' > Truncating 'TestTable' table (it may take a while): > Disabling table... > Truncating table... > Took 10.0040 seconds > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)