You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Beaudreault (Jira)" <ji...@apache.org> on 2022/05/15 18:06:00 UTC
[jira] [Created] (HBASE-27038) CellComparator should extend Serializable
Bryan Beaudreault created HBASE-27038:
-----------------------------------------
Summary: CellComparator should extend Serializable
Key: HBASE-27038
URL: https://issues.apache.org/jira/browse/HBASE-27038
Project: HBase
Issue Type: Improvement
Reporter: Bryan Beaudreault
Assignee: Bryan Beaudreault
Prior to HBASE-18945, CellComparator was a class which implemented Serializable. In that jira, an interface was extracted with the intent of making the implementation IA.Private. This broke some downstream consumers, so the new CellComparator interface was made IA.Public in HBASE-19160.
One remaining breakage from that change is that if someone is using CellComparator in spark it will fails because it's not serializable. Everything in spark needs to be serializable, and the old CellComprator class used to extend Serializable. There was some small discussion in HBASE-18945 about removing Serializable, but I don't think anyone thought of this use-case.
The failure is:
Job aborted due to stage failure: Task not serializable: java.io.NotSerializableException: org.apache.hadoop.hbase.CellComparatorImpl
We should make CellComparator extend Serializable, or have CellComparatorImpl implement it.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)