File/Command not found while running "hadoop version" command. Hadoop installation

2014-05-20T19:45:13

I'm following Micheal Noll tutorial for installing hadoop. I followed every step as it is. But while executing "hadoop version" command in root, I get two errors :

/usr/local/hadoop/hadoop-common-project/hadoop-common/src/main/bin/hadoop:
line 26:     
/usr/local/hadoop/hadoop-common-project/hadoop-common/src/main/bin/../libexec/hadoop- config.sh: No such file or directory
/usr/local/hadoop/hadoop-common-project/hadoop-common/src/main/bin/hadoop: 
line 133:
exec: : not found

Thank you.

UPDATE I found the solution to the problem. I was working on Hadoop 2.x version instead of 1.2 or other stable versions. As I re-installed the stable version, it started working without any errors.

Copyright License:
Author:「balajiprasadb」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/23758928/file-command-not-found-while-running-hadoop-version-command-hadoop-installati

About “File/Command not found while running "hadoop version" command. Hadoop installation” questions

curl -X GET -H "Authorization: Bearer<token>" -H "Content-Type: application/json" https://management.azure.com/subscriptions/xxxx-xxx-xxxxxx-xxxxxxxxx/providers/microsoft.insights/eventtypes/
I am using mr on Windows and it allows running arbitrary commands before/after any repository action. As far as I can see this is done simply by invoking perl's system function. However something s...
I am trying some something out with gitlab-runner image, FROM gitlab/gitlab-runner:alpine WORKDIR /app COPY . /app RUN apk add yarn && yarn install RUN yarn --versio...
Here my DockerFile :- FROM openjdk:10 ENV AQUILA_HOME /data/config #USER root #VOLUME /tmp ADD a2i-web-1.0.0-SNAPSHOT.jar app.jar #RUN bash -c 'touch /app.jar' ENTRYPOINT ["java","-jar&
Same situation: I have started the M101 MongoDB online course. The restoremongo call returns mongorestore: command not found. This should connect to the server(Which I can connect to and is running...
sometime I will use ">>" to redirect all the output info of a command to a log file, but I found it's a little inconvenient when checking that log,too much info info so I wonder if I can just redir...
I've downloaded the latest version of gearman php extension from gearmean website, but when i tried to configure gearman phpextension, i'm getting the error configure command not found. When i go
I am on Mac M1 running R 4.2.0 and using R-studio. My ultimate motivation is to download a package using BiocManager - following tips on https://support.bioconductor.org/p/19598/ ( I am getting the...
Hello I'm trying to create a CodeDeploy deployment for my golang application. I have an autoscaling group that uses a AMI I created that has all the libs I need installed. When I try to run CodeDep...
I am trying to run program midnight commander by script.sh and I can run it by using sh, but when I try to run it without sh, I get: script.sh: command not found This is script.sh: #!bin/bash mc I

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.