啟動 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 埠號