[
https://issues.apache.org/jira/browse/HBASE-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Helmling updated HBASE-2942:
---------------------------------
Status: Patch Available (was: Open)
The fix here is pretty trivial, so didn't think it needed to go to reviewboard.
The attached patch just uses the class code for Writable for Writable
implementations when no other class code is found. There is existing code in
writeObject() for serializing the class name for custom writables, but we were
bailing early due to the missing class code.
> Custom filters should not require registration in HbaseObjectWritable
> ---------------------------------------------------------------------
>
> Key: HBASE-2942
> URL: https://issues.apache.org/jira/browse/HBASE-2942
> Project: HBase
> Issue Type: Bug
> Components: filters
> Reporter: Gary Helmling
> Assignee: Gary Helmling
> Priority: Minor
> Attachments: HBASE_2942.patch
>
>
> Some of the filter RPC serialization still requires that code -> class
> mappings be added to HbaseObjectWritable. FilterList in particular requires
> this for it's child filters, since it calls HbaseObjectWritable.writeObject()
> on each. This makes developing custom filters a big pain, as
> HbaseObjectWritable must be modified and the hbase core jar re-staged to the
> cluster.
> We should fix this so that all filters can be written as a class name + data
> if no code exists.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.