通过thrift访问hbase.png

Start the scripts of hbase and 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

Output

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   

Command to view port number

netstat -tunlp | grep 端口号

Reference article:
Hadoop, HBase, Hive, ZooKeeper default port description
About HBASE_MANAGES_ZK configuration reference
https://blog.csdn.net/vtopqx/article/details/78448787
https://www.cnblogs.com/judylucky/p/5692147.html

linux-Unable to start ZK on the requested port 2181, while exporting HBASE_MANAGES_ZK = false


universe_king
3.4k 声望680 粉丝

引用和评论

0 条评论