./start-hbase.sh不是独立开始的

时间:2016-04-07 08:34:40

标签: linux shell hadoop hbase

root@sujit-pc:/usr/local/hbase/bin# ./start-hbase.sh
./start-hbase.sh: line 48: /usr/local/hbase/bin/hbase: Permission denied
./start-hbase.sh: line 55: /usr/local/hbase/bin/hbase-daemons.sh: Permission denied
./start-hbase.sh: line 56: /usr/local/hbase/bin/hbase-daemon.sh: Permission denied
./start-hbase.sh: line 57: /usr/local/hbase/bin/hbase-daemons.sh: Permission denied
./start-hbase.sh: line 59: /usr/local/hbase/bin/hbase-daemons.sh: Permission denied
root@sujit-pc:/usr/local/hbase/bin# 

我认为,有一些许可问题。但我已经在root了

2 个答案:

答案 0 :(得分:1)

chmod 777 ./start-hbase.sh允许所有用户进行r / w访问。

chmod +x ./start-hbase.sh使脚本可执行。

答案 1 :(得分:0)

对不起,我无法发表评论,因为不到50个代表。 ls -l start-hbase.sh会返回什么?

顺便说一下HBase does not run after ./start-hbase.sh - Permission Denied?

相关问题