You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Roman Kalyakin (JIRA)" <ji...@apache.org> on 2009/11/06 09:40:32 UTC
[jira] Created: (HBASE-1957) Get-s can't set a Filter
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
Affects Versions: 0.20.0
Reporter: Roman Kalyakin
Fix For: 0.20.0
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).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-1957) Get-s can't set a Filter
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-1957.
--------------------------
Resolution: Fixed
Fix Version/s: 0.21.0
0.20.2
Thank you for the patch Roman (FYI, make patch just under $HBASE_HOME rather than at $HBASE_HOME/src/java next time -- but no worries). Applied branch and trunk.
> 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
> Fix For: 0.20.2, 0.21.0
>
> Attachments: hbase-filter-serialization.patch
>
>
> 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.
[jira] Updated: (HBASE-1957) Get-s can't set a Filter
Posted by "Roman Kalyakin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Kalyakin updated HBASE-1957:
----------------------------------
Attachment: hbase-filter-serialization.patch
> 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
> Attachments: hbase-filter-serialization.patch
>
>
> 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.
[jira] Updated: (HBASE-1957) Get-s can't set a Filter
Posted by "Roman Kalyakin (JIRA)" <ji...@apache.org>.
[ 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.