[
https://issues.apache.org/jira/browse/HBASE-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Kalyakin updated HBASE-1957:
----------------------------------
Component/s: filters
Description:
This is an issue directly related to HBASE-1646. Get#write and Get#readFields
both use HbaseObjectWritable to write filters and when it comes to custom
filters or filters in general that are not hardcoded in HbaseObjectWritable ,
an exception is thrown.
It has been fixed in the issue noted above for Scan. Attached patch fixes it
fot Get too.
was:
Scan#write:
{code}
HbaseObjectWritable.writeObject(out, this.filter, Filter.class, null);
{code}
Because of the third argument (Filter.class), HbaseObjectWritable can not write
or read the filter (as Filter is not instantiable).
Fix Version/s: (was: 0.20.0)
> Get-s can't set a Filter
> ------------------------
>
> Key: HBASE-1957
> URL: https://issues.apache.org/jira/browse/HBASE-1957
> Project: Hadoop HBase
> Issue Type: Bug
> Components: filters
> Affects Versions: 0.20.0
> Reporter: Roman Kalyakin
>
> This is an issue directly related to HBASE-1646. Get#write and Get#readFields
> both use HbaseObjectWritable to write filters and when it comes to custom
> filters or filters in general that are not hardcoded in HbaseObjectWritable ,
> an exception is thrown.
> It has been fixed in the issue noted above for Scan. Attached patch fixes it
> fot Get too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.