Created 01-05-2017 11:14 AM
Hi
I've just installed the sandbox. This is what I get when I try to run any hadoop command.
[root@hdp001 local]# hadoop dfsadmin -bash: hadoop: command not found
Am I missing something (I was under the impression that hadoop was already installed in the sandbox).
Thkx
Created 01-05-2017 11:20 AM
By any chance have you edited or modified the PATH variable? Your PATH should include the "/usr/bin" because the "hadoop" and "hdfs" commands are present inside this path.
/usr/bin/hadoop /usr/bin/hdfs
- Also please double check if bymistake HDFS_CLIENTS / Services are removed?
- My PATH setting (default) is as following:
# echo $PATH /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
.
Created 01-05-2017 01:10 PM
Thkx for your response
I can't find hadoop or hdfs in the /usr/bin directory. I'm new to hadoop. I'm assuming that hadoop should be part of the sandbox.
Pls advice.
Thkx again
Created 01-06-2017 11:21 PM
Can you try "which hadoop" or "which hdfs" to identify the location of executables.
Created 01-07-2017 03:55 AM
As you mentioned earlier "I was under the impression that hadoop was already installed in the sandbox".
>> Yes you are correct, those commands should be by default available with the sandbox.
Can you please let us know if by any chance you deleted some packages from the sandbox (or is then any dir you removed from it).
- If it is fresh sandbox (which you started using recently) then i will suggest you to use a new sandbox instance.
- Also can you please check in your ambari that HDFS/HDFS clients are installed on this host or mistakenly deleted?
.
Created 01-07-2017 04:58 AM
Created 02-01-2017 06:29 PM
I am also facing the same issue in last two days though I followed the same procedure given.
1. command "which hadoop" and "which hdfs" is not giving any result.
2. I am not seeing hadoop or hdfs in the /usr/bin directory
I am new to Hadoop, Your help is much appreciated
Created 02-03-2017 10:46 PM
Same issue. Cant find any folders
,Same issue. Cant find any folders.
Created 04-07-2017 09:01 PM
Seems like some changes with the latest build. I am also facing similar issue
,seems like an issue with the latest installation. I'm also facing the same issue