Created 08-10-2021 11:52 PM
Lock on /hadoopfs/fs1/hdfs/namenode/in_use.lock acquired by nodename 8360@xxxx-080060091.xxxx.com 2021-08-11 06:30:25,079 WARN namenode.FSNamesystem (FSNamesystem.java:loadFromDisk(716)) - Encountered exception loading fsimage java.io.IOException: NameNode is not formatted.
When i tried to format the namenode by using hadoop namenode -format
getting the below error as,
21/08/11 06:45:12 INFO util.ExitUtil: Exiting with status 1: org.apache.hadoop.hdfs.qjournal.client.QuorumException: Could not format one or more JournalNodes. 2 exceptions thrown:
10.80.60.88:8485: Directory /hadoopfs/fs1/hdfs/journalnode/dev-30 is in an inconsistent state: Can't format the storage directory because the current directory is not empty.
In hdfs-site.xml:
<property>
<name>dfs.data.dir</name>
<value>/hadoop/hdfs/data</value>
<final>true</final>
</property>
<property>
<name>dfs.name.dir</name>
<value>/hadoopfs/fs1/hdfs/namenode</value>
<final>true</final>
</property>
Please help me on above issue.
Created on 08-12-2021 02:09 AM - edited 08-12-2021 02:13 AM
It is worth checking the content under
/hadoopfs/fs1/hdfs/journalnode/dev-30
Kindly confirm whether there is any unwanted file/dir which might be causing this error.
Created 08-19-2021 03:12 AM
@ManjuN, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @Asok has requested?
Regards,
Vidya Sargur,