Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Configuration setup

Copy link to this message
Configuration setup
I have a need to move hbas-site.xml to an external location. So in order to
do that I changed my configuration as shown below. But this doesn't seem to
be working. It picks up the file but I get error, seems like it's going to
the localhost. I checked hbase-site.xml in the directory and the zookeeper
nodes are correctly listed.
[11/26/2012 14:09:31,480] INFO apache.zookeeper.ClientCnxn
Opening socket connection to server localhost.localdomain/


changed from


config = *new* Configuration();

config.addResource(*new* Path(*CONF_FILE_PROP_NAME*));

*log*.info("Config location picked from:" + prop);