Skip to content
Advertisement

HBase does not run after ./start-hbase.sh – Permission Denied?

I want to run HBase. I have installed hadoop completely and when I run start-all.sh , it works fine and gives me this output:

JavaScript

But when I want to run start-hbase.sh , it gives me some errors of permission denied which I do not understand why:

JavaScript

after that, I tried to run sudo ./start-hbase.sh , and I got something more weird!

JavaScript

I do not know what I am supposed to type here. anyway I just clicked Enter and it switched back to hduser again:

JavaScript

I put some lines from my hbase-env.sh and hbase-site.xml files in case they are needed:

hbase-env.sh

JavaScript

hbase-site.xml

JavaScript

So, what do you think is wrong with HBase that it does not run! I am really getting exhausted with this. It has been weeks I am working on it and every time it comes up with a new error. I would really appreciate your time and effort to help me 🙂

Advertisement

Answer

you say the output of ls -l start-hbase.sh is :

JavaScript

if you want to know what user and group you are logging with , there us simple way:

JavaScript

and check user:group …

the problem is user owner and group owner of script.. you have two solutions:

JavaScript

inorder to make it your slave…with executable state(sudo chmod +x start-hbase.sh)

JavaScript

and then execute the script…

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement