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 3BD8018BB6 for ; Thu, 4 Feb 2016 08:43:40 +0000 (UTC) Received: (qmail 5741 invoked by uid 500); 4 Feb 2016 08:43:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 5678 invoked by uid 500); 4 Feb 2016 08:43:40 -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 5667 invoked by uid 99); 4 Feb 2016 08:43:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2016 08:43:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C8DAF2C1F58 for ; Thu, 4 Feb 2016 08:43:39 +0000 (UTC) Date: Thu, 4 Feb 2016 08:43:39 +0000 (UTC) From: "Appy (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15209) disable table in HBaseTestingUtility.truncateTable 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-15209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Appy updated HBASE-15209: ------------------------- Attachment: HBASE-15209-branch-1-v2.patch resubmittin branch-1 v1 again as a v2 patch to trigger another build > disable table in HBaseTestingUtility.truncateTable > --------------------------------------------------- > > Key: HBASE-15209 > URL: https://issues.apache.org/jira/browse/HBASE-15209 > Project: HBase > Issue Type: Bug > Reporter: Appy > Assignee: Appy > Priority: Minor > Labels: compatibility > Fix For: 2.0.0, 1.2.0 > > Attachments: HBASE-15209-branch-1-v1.patch, HBASE-15209-branch-1-v2.patch, HBASE-15209-v1.patch, HBASE-15209-v2.patch > > > Old truncate table expected table to be enabled and removed rows by scanning over them. > In HBASE-13764, the function was changed to make it consistent with how shell worked, so new one used admin.truncateTable. > Since HBTU.truncateTable expects table to be enabled (backward compat) whereas admin.truncateTable expects table to be disabled, we should add a disable table there. -- This message was sent by Atlassian JIRA (v6.3.4#6332)