You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Heng Chen (JIRA)" <ji...@apache.org> on 2016/06/27 08:26:52 UTC
[jira] [Resolved] (HBASE-16111) Truncate preserve shell command is
broken
[ https://issues.apache.org/jira/browse/HBASE-16111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Heng Chen resolved HBASE-16111.
-------------------------------
Resolution: Fixed
Assignee: Heng Chen
Hadoop Flags: Reviewed
> Truncate preserve shell command is broken
> -----------------------------------------
>
> Key: HBASE-16111
> URL: https://issues.apache.org/jira/browse/HBASE-16111
> Project: HBase
> Issue Type: Bug
> Components: shell
> Reporter: Elliott Clark
> Assignee: Heng Chen
> Labels: shell
> Fix For: 2.0.0
>
> Attachments: HBASE-16111.patch
>
>
> On a recent version of master I get this:
> {code}
> hbase(main):001:0> truncate_preserve 'TestTable'
> ERROR: undefined local variable or method `table' for #<Hbase::Admin:0x2fdf17dc>
> Here is some help for this command:
> Disables, drops and recreates the specified table while still maintaing the previous region boundaries.
> Took 0.0290 seconds
> hbase(main):002:0> truncate 'TestTable'
> Truncating 'TestTable' table (it may take a while):
> Disabling table...
> Truncating table...
> Took 10.0040 seconds
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)