HBASE-19567 ClassNotFoundException:

org.apache.hadoop.hbase.KeyValue$RawBytesComparator starting 2.0.0 over
a 0.98.25 data.
This commit is contained in:
Michael Stack 2017-12-20 11:21:06 -08:00
parent 084e324fb9
commit 4d71f4e32f
No known key found for this signature in database
GPG Key ID: 9816C7FC8ACC93D2
1 changed files with 1 additions and 1 deletions

View File

@ -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