Alexis Eggermont Alexis Eggermont - 6 months ago 106
Linux Question

Ubuntu: hadoop command not found

I am trying to check my installation of hadoop. I did create the environment variables and when I call

, I do see my HADOOP_HOME and PATH variables printed and correct (home/hadoop and HADOOP_HOME/bin respectively).

If I go to home/hadoop in the terminal and call
, I see the hadoop file there. If I try to run it by calling
, it still tells me command not found.

First day on Linux, so there may be a stupid answer to this problem.


Your current working directory is probably not part of your path. That is default on linux systems.

If you are in the same directory, where your hadoop file is, run that command with an relative path, like: ./hadoop