启动 hbase
和 thrift
的脚本
sudo bash ~/opt/hbase/bin/start-hbase.sh
netstat -tunlp | grep 600
sudo bash ~/opt/hbase/bin/hbase-daemon.sh start thrift
netstat -tunlp | grep 90
输入
vagrant@vagrant:/vagrant$ sudo bash myhbase_go.sh
master running as process 2143. Stop it first.
tcp6 0 0 127.0.1.1:16000 :::* LISTEN 2143/java
thrift running as process 2293. Stop it first.
tcp6 0 0 :::9090 :::* LISTEN 2293/java
tcp6 0 0 :::9095 :::* LISTEN 2293/java
查看端口号的命令
netstat -tunlp | grep 端口号
参考文章:
Hadoop, HBase, Hive, ZooKeeper 默认端口阐明