问题:starting master, logging to /home/dyl/software/hbase/bin/…/logs/hbase-wde-master-ict003.out
Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
意思是默认的2181端口已经被占用了。如果不在hbase-site.xml里面指定zk的端口的话,那么就使用默认的2181端口。一旦2181端口被占用了,就会导致启动失败。
修改hbase-site.xml,添加下面的行:
hbase.zookeeper.property.clientPort
2182
然后就能正常启动hbase了。