hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-13764) Backport HBASE-7782 (HBaseTestingUtility.truncateTable() not acting like CLI) to branch-1.x
Date Mon, 13 Jul 2015 17:50:05 GMT

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

Sean Busbey resolved HBASE-13764.
      Resolution: Fixed
    Hadoop Flags: Incompatible change,Reviewed  (was: Reviewed)
    Release Note: 
HBaseTestingUtility now uses the truncate API added in HBASE-8332 so that calls to HBTU.truncateTable
will behave like the shell command: effectively dropping the table and recreating a new one
with the same split points. 

Previously, HBTU.truncateTable instead issued deletes for all the data already in the table.
If you wish to maintain the same behavior, you should use the newly added HBTU.deleteTableData

> Backport HBASE-7782 (HBaseTestingUtility.truncateTable() not acting like CLI) to branch-1.x
> -------------------------------------------------------------------------------------------
>                 Key: HBASE-13764
>                 URL: https://issues.apache.org/jira/browse/HBASE-13764
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 1.2.0
>            Reporter: Srikanth Srungarapu
>            Assignee: Ashish Singhi
>            Priority: Minor
>             Fix For: 1.0.2, 1.2.0, 1.1.1
>         Attachments: 13764-branch-1.patch, 13764-branch-1_v1.patch, HBASE-13764-branch-1.patch
> Backport this test infrastructure improvement, which makes {{truncateTable()}} in HBaseTestingUtility
behave in the same way it's CLI counterpart. 

This message was sent by Atlassian JIRA

View raw message