hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heng Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16111) Truncate preserve shell command is broken
Date Mon, 27 Jun 2016 08:25:52 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350626#comment-15350626
] 

Heng Chen commented on HBASE-16111:
-----------------------------------

Thanks [~mbertozzi] for your review. Push to master

> 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)

Mime
View raw message