zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    大数据实践解析(上):聊一聊spark的文件组织方式
    npm 项目更换目录后无法启动
    Vue 爬坑之路(六)—— 使用 Vuex + axios 发送请求
    Vue 爬坑之路(五)—— 组件进阶
    Vue 爬坑之路(四)—— 与 Vuex 的第一次接触
    Vue 爬坑之路(三)—— 使用 vue-router 跳转页面
    Vue 爬坑之路(二)—— 组件之间的数据传递
    Vue 爬坑之路(一)—— 使用 vue-cli 搭建项目
    同步类的基础AbstractQueuedSynchronizer(AQS)
    由于不当的执行顺序导致的死锁
  • 原文地址:https://www.cnblogs.com/wwzyy/p/9243325.html
Copyright © 2011-2022 走看看