You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2018/12/14 16:57:00 UTC
[jira] [Updated] (HBASE-21178) [BC break] : Get and Scan operation
with a custom converter_class not working
[ https://issues.apache.org/jira/browse/HBASE-21178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Busbey updated HBASE-21178:
--------------------------------
Affects Version/s: 2.1.0
2.0.1
2.0.2
> [BC break] : Get and Scan operation with a custom converter_class not working
> -----------------------------------------------------------------------------
>
> Key: HBASE-21178
> URL: https://issues.apache.org/jira/browse/HBASE-21178
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 2.1.0, 2.0.0, 2.0.1, 2.0.2
> Reporter: Subrat Mishra
> Assignee: Subrat Mishra
> Priority: Critical
> Fix For: 3.0.0, 2.2.0, 2.1.1, 2.0.3
>
> Attachments: HBASE-21178.master.001.patch, HBASE-21178.master.002.patch, HBASE-21178.master.003.patch
>
>
> Consider a simple scenario:
> {code:java}
> create 'foo', {NAME => 'f1'}
> put 'foo','r1','f1:a',1000
> get 'foo','r1',{COLUMNS => ['f1:a:c(org.apache.hadoop.hbase.util.Bytes).len']}
> scan 'foo',{COLUMNS => ['f1:a:c(org.apache.hadoop.hbase.util.Bytes).len']}{code}
> Both get and scan fails with ERROR
> {code:java}
> ERROR: wrong number of arguments (3 for 1) {code}
> Looks like in table.rb file converter_method expects 3 arguments [(bytes, offset, len)] since version 2.0.0, prior to version 2.0.0 it was taking only 1 argument [(bytes)]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)