hbase安装问题解决

通过quickstart安装出现如下问题:

1. Failed setting up proxy interface org.apache.hadoop.hbase.ipc.HRegionInter

    通过gg,注释掉:

     /etc/hosts

    #127.0.1.1       dev

2.但接着出现

   java.net.UnknownHostException dev:dev 异常

   然后在修改/etc/hosts

   127.0.0.1localhost dev

解决问题!

对于hadoop相关的项目都有这个问题:

/etc/hosts

a.不能有127.0.1.1 hostname

b.需要通过IP找到 node’s hostname

猜你喜欢

转载自junsky.iteye.com/blog/1944201