1
我试图在localhost
中运行hbase
伪分布式模式。但本地主机绑定公共地址。当我把netstat
命令那个时候它只显示公共IP。Hbase伪分布式模式不在本地主机上运行
hbase-site.xml:
hbase.master : localhost:60000
hbase.rootdir : hdfs://localhost:9000/hbase
hbase.cluster.distributed : true
hbase.zookeeper.quorum : localhost
hbase.zookeeper.property.dataDir : C:\hbase-1.0.1.1\Zookeeper
hbase.zookeeper.clientPort : 2181
当我用netstat
命令hbase
主站和regionserver
在127.0.0.1
地址没有运行。
C:\hadoopcluster\sbin>netstat -a -n -o | find "60000"
TCP 172.16.104.181:59249 172.16.104.181:60000 ESTABLISHED 15088
TCP 172.16.104.181:60000 0.0.0.0:0 LISTENING 2320
TCP 172.16.104.181:60000 172.16.104.181:59249 ESTABLISHED 2320