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

stack updated HBASE-15209:
--------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 1.3.0
           Status: Resolved  (was: Patch Available)

Pushed to branch-1.2+ Thanks for the patch [~appy]


> 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, 1.3.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)

Reply via email to