After installing Hadoop on Windows7, NameNode failed to start

0 votes

I am installing Hadoop 2.2.0 on Windows machine. While starting the NameNode I am getting the following error:

17/11/28 16:31:48 ERROR namenode.NameNode: Failed to start namenode.
    at$Windows.access0(Native Method)
    at org.apache.hadoop.fs.FileUtil.canWrite(
    at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.analyze
    at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(
    at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(
    at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(
    at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(
    at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(
    at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(
    at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(
    at org.apache.hadoop.hdfs.server.namenode.NameNode.main(
May 3, 2018 in Big Data Hadoop by nitinrawat895
• 10,710 points

1 answer to this question.

0 votes

You need to install Hadoop winutils to install Hadoop on windows. It is compulsory to install winutils on your Windows machine to work with Hadoop. Go through this link:

Refer to this official website to install Hadoop on Windows:

answered May 3, 2018 by Shubham
• 13,300 points

Related Questions In Big Data Hadoop

–1 vote
1 answer

Failed to start namenode in hadoop

Change your following properties in hdfs-site.xml <property> ...READ MORE

answered Jan 11 in Big Data Hadoop by Omkar
• 67,660 points
0 votes
1 answer

failed to start the Namenode format in hadoop generation 2

Hi, You can check this out: 1. Delete all ...READ MORE

answered Jul 2 in Big Data Hadoop by Ria

edited Jul 2 by Gitika 155 views
+1 vote
2 answers

Failed to restart Hadoop namenode using cloudera quickstart

You can use cloudera manager to manage ...READ MORE

answered Mar 19, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
0 votes
1 answer

How to start working on Hadoop?

Ok, so basically, you are looking forward ...READ MORE

answered Mar 29, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
0 votes
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
• 10,710 points
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
0 votes
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,260 points
0 votes
1 answer
0 votes
1 answer

What are the hardware requirements for installing Hadoop on my Laptop?

You can either install Apache Hadoop on ...READ MORE

answered Apr 10, 2018 in Big Data Hadoop by Shubham
• 13,300 points
0 votes
11 answers