Hadoop error Cannot lock storage app hadoop tmp dfs name The directory is already locked

0 votes
Why this error came up and how can I solve it? Can anyone help me out with this?
Aug 5, 2019 in Big Data Hadoop by Jina
779 views

1 answer to this question.

0 votes

Hi,

Check your dfs.name.dir and dfs.data.dir path in hdfs-site.xml.

Or what can you do is: stop all the running Hadoop process and start again:

./stop-all.sh

./start-all.sh

If the error exists even after the above step, then stop all the process, format the NameNode and start again.

./stop-all.sh/

hadoop namenode -format

./start-all.sh
answered Aug 5, 2019 by Gitika
• 65,870 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to delete a directory from Hadoop cluster which is having comma(,) in its name?

Just try the following command: hadoop fs -rm ...READ MORE

answered May 7, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,124 views
0 votes
1 answer

Hadoop: What is the difference between `hadoop dfs` and `hadoop fs`?

You can find the definition here: $HADOOP_HOME/bin/hadoop ... elif [ ...READ MORE

answered Nov 6, 2018 in Big Data Hadoop by Omkar
• 69,130 points
714 views
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
7,223 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
52,958 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
2,736 views
0 votes
1 answer