[ https://issues.apache.org/jira/browse/HADOOP-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558167#action_12558167 ]
stack commented on HADOOP-2578: ------------------------------- Would adding a test that checked that c.getResource("hbase-default.xml") and c.getResource("hbase-site.xml") were non-null in HBaseConfiguration(Configuration c) work? > HBaseConfiguration(Configuration c) constructor shouldn't overwrite passed > conf with defaults > --------------------------------------------------------------------------------------------- > > Key: HADOOP-2578 > URL: https://issues.apache.org/jira/browse/HADOOP-2578 > Project: Hadoop > Issue Type: Bug > Components: contrib/hbase > Reporter: Thomas Garner > > While testing out mapreduce with hbase, in the map portion of a task, the map > would try to connect to an hbase master at localhost/127.0.0.1. The config > passed to the hbaseconfiguration contained the necessary hbase configuration > information, but I assume was being overwritten by the defaults in the config > files during addResource, as commenting out addHbaseResources in the > constructor fixed the symptom. I would expect the configs to be layered on > top of each other, e.g. default, then site, then the config passed as a > parameter. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.