[
https://issues.apache.org/jira/browse/HBASE-15209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Appy updated HBASE-15209:
-------------------------
Attachment: HBASE-15209-v2.patch
re-uploading same patch to trigger another run
> 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-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)