HBase connection reject HBase connection reject hadoop hadoop

HBase connection reject


Try this

Comment 127.0.1.1 in /etc/hosts file using # then put your ip and computer name in new lineif you want to use localhost make sure that 127.0.0.1 localhost is there in your hosts filethen replace all occurance of ip in configuration files replace with localhost

if you want to use ip instead of localhost then make sure that ip and equivalent domain name is there in your hosts file and replace all occurance of localhost with your ip.

problem related to namenode generally occurs due to misconfiguration of host or IP


Try looking in /etc/hosts file and/or assigning localhost to 127.0.0.1. In your example it connects to 192.168.15.20:54310, not 127.0.0.1:54310


First check that in habse-site.xml the property hbase.rootdir is trying to connect to the same port as defined in core-site.xml for hadoop as fs.default.name .

Is hbase.rootdir is set to some /tmp/hadoop location ? (because that comes defult)change it to point on where your hdfs resides.

And first of all try http://localhost:50070 and check for something like Namenode : --IP--:--port--. Give me that port.