Ahmed Abobakr
Ahmed Abobakr

Reputation: 1666

hadoop single node setup bash: bin/hadoop permission denied

I have an error when trying to setup a single node hadoop cluster at the step of formatting namenode.

The command:

bin/hadoop namenode -format 

The error:

bash: bin/hadoop : permission denied

I tried this on ubuntu 12.10, 12.04, 11.04 and got the same error for all.

What can I do?

Upvotes: 0

Views: 3462

Answers (3)

Ahmed Abobakr
Ahmed Abobakr

Reputation: 1666

Thanks alot all,,

it was missing execute permission for files in bin/hadoop directory and it's now working after providing execute permission using chmod command

Upvotes: 0

Kamaldeep Singh
Kamaldeep Singh

Reputation: 492

Check permissions of hadoop script:

do ls -l ./bin/hadoop

Upvotes: 1

Tariq
Tariq

Reputation: 34184

change the permissions of your HADOOP_HOME. for a detailed help you can visit this link

Upvotes: 1

Related Questions