Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.92.0
-
None
-
None
-
None
Description
A common user error (and even hbase dev error) is to pass a vanilla Hadoop Configuration into HBase methods that expect to see all of the relevant hbase defaults from hbase-default.xml. This often results in NPE or issues locating ZK.
We should add a method like HBaseConfiguration.verify(conf) which ensures that the conf has incorporated hbase-default.xml. We can do this by checking for existence of hbase.defaults.for.version.