运行 HBase 处于独立模式但收到 hadoop "retrying connect to server" 消息?

Running HBase in standalone mode but get hadoop "retrying connect to server" message?

我正尝试 运行 按照本教程在独立模式下使用 HBase: http://hbase.apache.org/book.html#quickstart

当我尝试 运行

时出现以下异常
create 'test', 'cf'

在 HBase 中 shell

ERROR: org.apache.hadoop.hbase.PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

我在这里看到了关于此错误的问题,但解决方案对我没有用。

也许更麻烦,也可能是问题的核心,当我停止 HBase 时,我在日志中一遍又一遍地收到以下消息:

INFO org.apache.hadoop.ipc.Client: Retrying connect to server: 192.168.200.1/192.168.200.1:54310. Already tried <n> time(s)

我不知道它试图连接到哪个服务器——那不是我计算机的 IP 地址——就像我说的,我正在尝试 运行 HBase 的独立模式。

如果有人能帮助我理解这个日志输出,我将不胜感激。

我的 etc/hosts 文件:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
127.0.0.1       j.gloves

iconfig -a

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    options=3<RXCSUM,TXCSUM>
    inet6 ::1 prefixlen 128 
    inet 127.0.0.1 netmask 0xff000000 
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
    nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
    ether 10:9a:dd:60:de:3d 
    nd6 options=1<PERFORMNUD>
    media: autoselect (none)
    status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
    lladdr 70:cd:60:ff:fe:4c:07:7a 
    nd6 options=1<PERFORMNUD>
    media: autoselect <full-duplex>
    status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether 10:9a:dd:b6:b4:7d 
    inet6 fe80::129a:ddff:feb6:b47d%en1 prefixlen 64 scopeid 0x6 
    inet 192.168.1.161 netmask 0xffffff00 broadcast 192.168.1.255
    nd6 options=1<PERFORMNUD>
    media: autoselect
    status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
    ether 02:9a:dd:b6:b4:7d 
    media: autoselect
    status: inactive

hbase-site.xml

<configuration>
    <property>
        <name>hbase.rootdir</name>
        <value>file:///Users/j.gloves/trynutch/hbase</value>
    </property>
    <property>
        <name>hbase.zookeeper.property.dataDir</name>
        <value>/Users/j.gloves/trynutch/zookeeper</value>
    </property>
    <property>
        <name>hbase.cluster.distributed</name>
        <value>false</value>
    </property>
    <property>
        <name>hbase.zookeeper.quorum</name>
        <value>localhost</value>
    </property>
</configuration>

感谢所有在评论中提供帮助的人。

我的老板能够解决这个问题。结果我的机器上有一个旧版本的 Hadoop 引用了一个旧的 IP 地址。一旦它从我的路径和机器中移除,HBase 就会按预期工作。