Add sanity checks on Configurations to make sure hbase confs have been loaded
-----------------------------------------------------------------------------

                 Key: HBASE-3840
                 URL: https://issues.apache.org/jira/browse/HBASE-3840
             Project: HBase
          Issue Type: Improvement
    Affects Versions: 0.92.0
            Reporter: Todd Lipcon
             Fix For: 0.92.0


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to