You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2016/06/27 07:31:52 UTC
[jira] [Commented] (HBASE-16111) Truncate preserve shell command is
broken
[ https://issues.apache.org/jira/browse/HBASE-16111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350517#comment-15350517 ]
Matteo Bertozzi commented on HBASE-16111:
-----------------------------------------
+1
> 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
> 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)