[
https://issues.apache.org/jira/browse/HBASE-18129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16031124#comment-16031124
]
Hudson commented on HBASE-18129:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #3109 (See
[https://builds.apache.org/job/HBase-Trunk_matrix/3109/])
HBASE-18129 truncate_preserve fails when the truncate method doesn't (tedyu:
rev dda9ae02959a9c27bb805e83749adf4a2d3d38bd)
* (edit) hbase-shell/src/test/ruby/hbase/admin_test.rb
* (edit) hbase-shell/src/main/ruby/hbase/admin.rb
> truncate_preserve fails when the truncate method doesn't exists on the master
> -----------------------------------------------------------------------------
>
> Key: HBASE-18129
> URL: https://issues.apache.org/jira/browse/HBASE-18129
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 2.0.0, 1.2.5
> Reporter: Guangxu Cheng
> Assignee: Guangxu Cheng
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-18129-branch-1.patch,
> HBASE-18129-branch-1-v1.patch.patch, HBASE-18129-branch-1-v2.patch,
> HBASE-18129-branch-1-v3.patch, HBASE-18129-master.patch,
> HBASE-18129-master-v1.patch
>
>
> Recently, I runs a rolling upgrade from HBase 0.98.x to HBase 1.2.5. During
> the master hasn't been upgraded yet, I truncate a table by the command
> truncate_preserve of 1.2.5, but failed.
> {code}
> hbase(main):001:0> truncate_preserve 'cf_logs'
> Truncating 'cf_logs' table (it may take a while):
> - Disabling table...
> - Truncating table...
> - Dropping table...
> - Creating table with region boundaries...
> ERROR: no method 'createTable' for arguments
> (org.apache.hadoop.hbase.HTableDescriptor,org.jruby.java.proxies.ArrayJavaProxy)
> on Java::OrgApacheHadoopHbaseClient::HBaseAdmin
> {code}
> After checking code and commit history, I found it's HBASE-12833 which causes
> this bug.so we should fix it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)