Skip to content

Commit

Permalink
Revert "HBASE-27038 CellComparator should extend Serializable (apache…
Browse files Browse the repository at this point in the history
…#4492)"

This reverts commit c0dfd30.
  • Loading branch information
wenwj0 authored Jun 14, 2022
1 parent c72b472 commit 6e99de3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
package org.apache.hadoop.hbase;

import java.io.Serializable;
import java.nio.ByteBuffer;
import java.util.Comparator;
import org.apache.hadoop.hbase.util.ByteBufferUtils;
Expand All @@ -31,7 +30,7 @@
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface CellComparator extends Comparator<Cell>, Serializable {
public interface CellComparator extends Comparator<Cell> {
/**
* A comparator for ordering cells in user-space tables. Useful when writing cells in sorted order
* as necessary for bulk import (i.e. via MapReduce).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
@InterfaceStability.Evolving
public class CellComparatorImpl implements CellComparator {

private static final long serialVersionUID = 8186411895799094989L;

/**
* Comparator for plain key/values; i.e. non-catalog table key/values. Works on Key portion of
* KeyValue only.
Expand Down

0 comments on commit 6e99de3

Please sign in to comment.