Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 0.14.1
-
Fix Version/s: 0.15.0
-
Component/s: HBase Module
-
Labels:None
Description
In hbase-0.98 (e.g. CDH 5.1) the return type of the Put.getFamilyMap() method has changed from Map to NavigableMap which makes tests like
mvn test -P cdh5 -Dvers.hbase-cdh5=0.98.1-cdh5.1.0-SNAPSHOT
bark with this exception: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.client.Put.getFamilyMap()Ljava/util/Map;
The workaround is to add a bit of java reflection code in HBaseUtils (yet retain the existing behaviour for hbase versions prior to 0.98).