HBASE-19567 ClassNotFoundException:
org.apache.hadoop.hbase.KeyValue$RawBytesComparator starting 2.0.0 over a 0.98.25 data.
This commit is contained in:
parent
084e324fb9
commit
4d71f4e32f
|
@ -570,7 +570,7 @@ public class FixedFileTrailer {
|
|||
|| (comparatorClassName
|
||||
.equals("org.apache.hadoop.hbase.CellComparator$MetaCellComparator"))) {
|
||||
comparatorKlass = MetaCellComparator.class;
|
||||
} else if (comparatorClassName.equals("org.apache.hadoop.hbase.KeyValue.RawBytesComparator")
|
||||
} else if (comparatorClassName.equals("org.apache.hadoop.hbase.KeyValue$RawBytesComparator")
|
||||
|| comparatorClassName.equals("org.apache.hadoop.hbase.util.Bytes$ByteArrayComparator")) {
|
||||
// When the comparator to be used is Bytes.BYTES_RAWCOMPARATOR, we just return null from here
|
||||
// Bytes.BYTES_RAWCOMPARATOR is not a CellComparator
|
||||
|
|
Loading…
Reference in New Issue