Code Monkey home page Code Monkey logo

Comments (14)

vipul4jain avatar vipul4jain commented on July 16, 2024 3

I was getting the same error "Error: HADOOP_HOME is not set correctly" and now it is solved for me.
In my case, the culprit was the file decompression software( Winzip), while i was opening the hadoop-2.8.0.tar.gz file, i was getting error after extracting everything. After this, I followed the same steps mentioned and got this error.
Later I deleted everything and unzip the tar.gz file with the WinRar(this time no error) and set variable
JAVA_HOME=C:\Java\jdk1.8.0_191 and HADOOP_HOME=C:\hadoop-2.8.0
And In path variable i added %JAVA_HOME%\bin and %HADOOP_HOME%\bin
This worked for me.

from hadoop-on-window.

carlvice avatar carlvice commented on July 16, 2024

Can you please share more details such as screenshots of your drive where you installed Hadoop, folder name, environment variables etc.

from hadoop-on-window.

MuhammadBilalYar avatar MuhammadBilalYar commented on July 16, 2024

@FelipeLujan, as @carlvice mentioned, please check you Environment variable.

from hadoop-on-window.

kish5430 avatar kish5430 commented on July 16, 2024

I am also facing the same issue.Getting following error message.
" Error: HADOOP_HOME is not set correctly
Please set your HADOOP_HOME variable to the absolute path of
the directory that contains the hadoop distribution"

Hadoop Location: D:\hadoop-2.8.0
env variables:

HADOOP_HOME: D:\hadoop-2.8.0
path: D:\hadoop-2.8.0\bin

from hadoop-on-window.

halinh avatar halinh commented on July 16, 2024

@MuhammadBilalYar: I followed your instruction in this link :
https://github.com/MuhammadBilalYar/Hadoop-On-Window/wiki/Step-by-step-Hadoop-2.8.0-installation-on-Window-10
and I had the same problem as mentioned by @FelipeLujan and @kish5430.
I have also tested on the cmd:
C:\WINDOWS\system32>cd %HADOOP_HOME%
C:\hadoop-2.8.0\bin>cd %JAVA_HOME%
C:\Java\jdk1.8.0_191\bin>cd %HADOOP_HOME%
C:\hadoop-2.8.0\bin>hadoop version
I am pretty sure that I did every thing correctly with the set up of the envirenement variables:
HADOOP_HOME C:\hadoop-2.8.0\bin
JAVA_HOME C:\Java\jdk1.8.0_191\bin
and paths:
C:\hadoop-2.8.0\bin
C:\Java\jdk1.8.0_191\bin
Hope that you have found the solution for this problem.
Many thanks in advance for your help.

from hadoop-on-window.

pwoubshet avatar pwoubshet commented on July 16, 2024

Try shortening the path:
C:\Hadoop-2~1\bin

from hadoop-on-window.

srikanth-sankurthi avatar srikanth-sankurthi commented on July 16, 2024

HI MuhammadBilalYar

is the "Error: HADOOP_HOME is not set correctly" problem solved , we are facing same issue

from hadoop-on-window.

Shwetabhdixit avatar Shwetabhdixit commented on July 16, 2024

can you post the entire logs when you run the command.
You may alternatively follow this link to set up Hadoop-
https://medium.com/@shwetabh.dixit/hadoop-installation-on-windows-bf699ce088ab

from hadoop-on-window.

priyangbhavsar avatar priyangbhavsar commented on July 16, 2024

same error

from hadoop-on-window.

itzdan avatar itzdan commented on July 16, 2024

also getting this error

from hadoop-on-window.

y1q84 avatar y1q84 commented on July 16, 2024

anybody has solved this problem yet

from hadoop-on-window.

nipul1 avatar nipul1 commented on July 16, 2024

i've been struggling with this for days.
no matter what i do, hadoop doesnt seem to recognize the HADOOP_HOME environment variable. still, i can use the environment variable in cmd.

ive tried:
HADOOP_HOME = C:\Hadoop
HADOOP_HOME = C:\Hadoop
HADOOP_HOME = C:\Hadoop\bin

noting works, this is my console log

`C:\Users\pipe>cd %HADOOP_HOME%

C:\Hadoop\bin>hadoop version
+================================================================+
| Error: HADOOP_HOME is not set correctly |
+----------------------------------------------------------------+
| Please set your HADOOP_HOME variable to the absolute path of |
| the directory that contains the hadoop distribution |
+================================================================+
'-Dhadoop.security.logger' is not recognized as an internal or external command,
operable program or batch file.`

have you got any solution to the problem?

from hadoop-on-window.

MuhammadBilalYar avatar MuhammadBilalYar commented on July 16, 2024

@nipul1, Please share the screenshot of your environment variables

from hadoop-on-window.

halinh avatar halinh commented on July 16, 2024

from hadoop-on-window.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.