Score:0

mkdir: cannot create directory permission denied when launching hadoop

cn flag

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.

Score:0
ro flag

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
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.