I get this error whenever I try to launch Hadoop. I have already configured the files needed to launch it but I get:

$ hdfs namenode -format WARNING: /home/jeunesseafricaine/hadoop-3.3.1/logs does not exist. Creating. mkdir: cannot create directory ‘/home/jeunesseafricaine/hadoop-3.3.1/logs’: Permission denied ERROR: Unable to create /home/jeunesseafricaine/hadoop-3.3.1/logs. Aborting. 

Need some help.

1 Answer

if this directory exists try to remove it by:

$ sudo rm -rf /home/jeunesseafricaine/hadoop-3.3.1 

then recreateing this directory without sudo

$ mkdir -p /home/jeunesseafricaine/hadoop-3.3.1/logs 
  • it makes this directory use your own permition

anather Help

$ sudo chown -R $USER:$USER /home/jeunesseafricaine/hadoop-3.3.1 $ sudo chown -R $USER:$USER /home/jeunesseafricaine/hadoop-3.3.1/logs 

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy