[ https://issues.apache.org/jira/browse/HBASE-12681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14245418#comment-14245418 ]
Ted Yu commented on HBASE-12681: -------------------------------- Thanks for the patch, Ashish. > truncate_preserve command fails with undefined method `getTable' error > ---------------------------------------------------------------------- > > Key: HBASE-12681 > URL: https://issues.apache.org/jira/browse/HBASE-12681 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 2.0.0, 0.99.2 > Reporter: Ashish Singhi > Assignee: Ashish Singhi > Fix For: 1.0.0, 2.0.0 > > Attachments: HBASE-12681.patch > > > {noformat} > hbase(main):002:0> truncate_preserve 'a' > Truncating 'a' table (it may take a while): > ERROR: undefined method `getTable' for nil:NilClass > Here is some help for this command: > Disables, drops and recreates the specified table while still maintaing the > previous region boundaries. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)