hbase-0.20.6/bin/hbase-daemon.sh: Permission denied

部署hbase全分布式时,出现以下错误:
主机的hbase启动了,但是从机的没启动
[root@centos7-01 my.shells]# start-hbase.sh Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release localhost: starting zookeeper, logging to /opt/sw/hbase-0.20.6/bin/../logs/hbase-root-zookeeper-centos7-01.out localhost: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release starting master, logging to /opt/sw/hbase-0.20.6/logs/hbase-root-master-centos7-01.out Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release centos7-03: bash: /opt/sw/hbase-0.20.6/bin/hbase-daemon.sh: Permission denied centos7-02: bash: /opt/sw/hbase-0.20.6/bin/hbase-daemon.sh: Permission denied
其原因是没有权限,可以修改从机hbase下的文件权限,比如:
[root@centos7-02 hbase-0.20.6]# chmod -R 777 ./
再启动hbase就可以了
[root@centos7-01 bin]# ./start-hbase.sh Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release localhost: starting zookeeper, logging to /opt/sw/hbase-0.20.6/bin/../logs/hbase-root-zookeeper-centos7-01.out localhost: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release starting master, logging to /opt/sw/hbase-0.20.6/logs/hbase-root-master-centos7-01.out Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release centos7-02: starting regionserver, logging to /opt/sw/hbase-0.20.6/bin/../logs/hbase-root-regionserver-centos7-02.out centos7-03: starting regionserver, logging to /opt/sw/hbase-0.20.6/bin/../logs/hbase-root-regionserver-centos7-03.out centos7-03: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release centos7-02: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release [root@centos7-01 bin]# jps 1424 JobTracker 2321 Jps 1243 NameNode 2220 HMaster 1357 SecondaryNameNode 2158 HQuorumPeer

 

转载于:https://www.cnblogs.com/wwzyy/p/9243325.html

  • 4
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值