You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Appy (JIRA)" <ji...@apache.org> on 2016/02/03 03:26:39 UTC

[jira] [Updated] (HBASE-15209) disable table in HBaseTestingUtility.truncateTable

     [ https://issues.apache.org/jira/browse/HBASE-15209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Appy updated HBASE-15209:
-------------------------
    Attachment: HBASE-15209-v1.patch

> 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
>         Attachments: HBASE-15209-v1.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)