You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/05/01 07:57:03 UTC
[jira] [Created] (HBASE-3840) Add sanity checks on Configurations
to make sure hbase confs have been loaded
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
[jira] [Resolved] (HBASE-3840) Add sanity checks on Configurations
to make sure hbase confs have been loaded
Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl resolved HBASE-3840.
----------------------------------
Resolution: Won't Fix
There appears to be no interest in this for over a year. Closing. Please reopen if you disagree.
> 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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira