1

I am new to hadoop and i am just trying to see how things work. I am following this tutorial for WordCount . But in step 9 when i execute

hduser@spyros:/usr/local/hadoop/etc/hadoop$ hadoop dfs -mkdir -p /usr/local/hadoop/input

I am taking this message :

DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

mkdir: Cannot create directory /usr/local/hadoop/input. Name node is in safe mode.

I tried everything from here and i take the message:

Safe mode is OFF

but nothing changed still not able to create directory. Is there anything else i could try? Using Hadoop 2.6.0 on Ubuntu 16.04LTS.

Community
  • 1
  • 1
Spyros_av
  • 854
  • 2
  • 8
  • 24
  • check if there is any lock, also if you don't have any data on HDFS you can try format namenode and then starting the daemons. – Vishrant Jul 08 '16 at 17:26
  • @Vishrant i have already done format namenode... What do you mean by "check if there is any lock" because i am new to whole thing... – Spyros_av Jul 08 '16 at 17:37

0 Answers0