[ https://issues.apache.org/jira/browse/HDFS-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105114#comment-13105114 ]
Devaraj K commented on HDFS-2324: --------------------------------- I think it would be better option of generating combined tar ball instead of overlaying Common and HDFS directories after generating individual tar balls. > start-dfs.sh and stop-dfs.sh are not working properly > ----------------------------------------------------- > > Key: HDFS-2324 > URL: https://issues.apache.org/jira/browse/HDFS-2324 > Project: Hadoop HDFS > Issue Type: Bug > Components: scripts > Affects Versions: 0.24.0 > Reporter: Devaraj K > Fix For: 0.24.0 > > Attachments: HDFS-2324.patch > > > 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