arrow_back Install Hadoop 3.0.0 on Windows (Single Node)

comment Comments
hide_source Anonymous #70 access_time 5 years ago more_vert

Hi,
I tried your guidelines for installing Hadoop 3.2.0 on my Windows 10 but unfortunately I am unable to start it. I am stuck at the point where you stated the command hadoop namenode -format . I am getting this message at the end of the command Shutting down NameNode at {Username}/192.168.0.200.
But no descriptive error other than that. Can you help me please?

hide_source Anonymous #72 access_time 5 years ago more_vert

Very well written guide. Thanks for posting this. Hadoop on Windows can be a daunting task. I have had several issues while I install Hadoop 2.9 on my machine. It encouraged me to document the working steps and ended up writing this Blog Post.

https://exitcondition.com/install-hadoop-windows/

Thanks anyway for writing this. It helps a lot of learners out there.

Raymond Raymond #199 access_time 5 years ago more_vert

Is JAVA_HOME environment variable configured correctly in your system? The value should point to your JDK location.

format_quote

person tharun access_time 5 years ago


The system cannot find the path specified.

Error: JAVA_HOME is incorrectly set.

       Please update C:xxx\hadoop-2.9.1\etc\hadoop\hadoop-env.cmd

DEPRECATED: Use of this script to execute hdfs command is deprecated.

Instead use the hdfs command for it.

The system cannot find the path specified.

Error: JAVA_HOME is incorrectly set.

       Please update C:\xxxxxxx \etc\hadoop\hadoop-env.cmd


 Please update C:\xxxxxxx\hadoop-env.cmd


please help 



hide_source Anonymous #71 access_time 5 years ago more_vert


The system cannot find the path specified.

Error: JAVA_HOME is incorrectly set.

       Please update C:xxx\hadoop-2.9.1\etc\hadoop\hadoop-env.cmd

DEPRECATED: Use of this script to execute hdfs command is deprecated.

Instead use the hdfs command for it.

The system cannot find the path specified.

Error: JAVA_HOME is incorrectly set.

       Please update C:\xxxxxxx \etc\hadoop\hadoop-env.cmd


 Please update C:\xxxxxxx\hadoop-env.cmd


please help 



Raymond Raymond #209 access_time 6 years ago more_vert
Nw, I'm glad it worked. :)
#208 access_time 6 years ago more_vert
I am sorry. It works!
#207 access_time 6 years ago more_vert
I come again and sorry. When I run this commande %HADOOP_HOME%\bin\hdfs dfs -put file:///G:/DataAnalytics/test.txt / I get an error: put: `G:/DataAnalytics/test.txt': No such file or directory. But I followed the configuration step by step and my DataAnalytics folder is in G:.
#206 access_time 6 years ago more_vert

Hi. thank you for your answer. I found a solution for my problem. If it can help someone, the problem was related to the syntax of my system username. It contains a space. So, to fixe it, you can edit /etc/hadoop/hadoop-env.cmd, at the end of this file, you will find set HADOOP_IDENT_STRING=%USERNAME% , change this with a string that you want but without space. For example: set HADOOP_IDENT_STRING=myuser, the problem will be fixed.

Raymond Raymond #205 access_time 6 years ago more_vert

Did you follow all the steps in this post? For example, you need to ensure winutils tool is installed: 

Overwrite your bin folder (%HADOOP_HOME%\bin) with the files from this link:

https://github.com/steveloughran/winutils/tree/master/hadoop-3.0.0/bin

The current available version is 3.0.0 and I am not very sure whether it can fix the issue for 3.0.1 but worth giving it a try.

format_quote

person U-n5aypxvh9wpx8qwp access_time 6 years ago

Good morning, I am trying to install hadoop 3.0.1 in my windows but when I want to test my configuration it gives me that error: Error: Can not find or load the main class. Can someone help me please?

Thank you

#135 access_time 6 years ago more_vert

Good morning, I am trying to install hadoop 3.0.1 in my windows but when I want to test my configuration it gives me that error: Error: Can not find or load the main class. Can someone help me please?

Thank you

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts