装了hbase-0.92.1和0.94.27两个版本,启动的时候都报:
java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException: 拒绝连接
折腾了一个晚上才发现是由于我电脑上装了hadoop-1.0.1并且在.bashrc文件中配置了相关信息:
export HADOOP_INSTALL=/home/jason/hadoop-1.0.1 export PATH=$PATH:$HADOOP_INSTALL/bin:HADOOP_INSTALL/sbin
导俄致的,把这两行信息注释掉即可
时间: 2024-10-14 00:18:33