start-dfs.sh and stop-dfs.sh are not working properly
-----------------------------------------------------
Key: HADOOP-7618
URL: https://issues.apache.org/jira/browse/HADOOP-7618
Project: Hadoop Common
Issue Type: Bug
Components: scripts
Affects Versions: 0.24.0
Reporter: Devaraj K
Assignee: Devaraj K
Fix For: 0.24.0
When we execute start-dfs.sh, it is gving the below error.
{code:xml}
linux124:/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-hdfs-0.24.0-SNAPSHOT/sbin
# ./start-dfs.sh
./start-dfs.sh: line 50:
/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hdfs:
No such file or directory
Starting namenodes on []
./start-dfs.sh: line 55:
/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hadoop-daemons.sh:
No such file or directory
./start-dfs.sh: line 68:
/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hadoop-daemons.sh:
No such file or directory
Secondary namenodes are not configured. Cannot start secondary namenodes.
{code}
It is gving the below error when we execute stop-dfs.sh.
{code:xml}
linux124:/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-hdfs-0.24.0-SNAPSHOT/sbin
# ./stop-dfs.sh
./stop-dfs.sh: line 26:
/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hdfs:
No such file or directory
Stopping namenodes on []
./stop-dfs.sh: line 31:
/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hadoop-daemons.sh:
No such file or directory
./stop-dfs.sh: line 44:
/home/devaraj/NextGenMR/Hadoop-0.24-09082011/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hadoop-daemons.sh:
No such file or directory
Secondary namenodes are not configured. Cannot stop secondary namenodes.
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira