解决办法是:先输入 hbase-daemon.sh stop master 命令再输入 stop-hbase.sh hbase-daemon.sh stop regionserver 命令。这样hbase就可以成功关闭。