[ 
https://issues.apache.org/jira/browse/HDFS-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104596#comment-13104596
 ] 

Devaraj K commented on HDFS-2324:
---------------------------------

Tom, Name node and datanodes are starting fine after the patch HDFS-2323.But 
still it is giving "No such file or directory" error on the console.

{code:xml}
./start-dfs.sh: line 50: 
/home/dev/HadoopRelease/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hdfs: No 
such file or directory
Starting namenodes on []
localhost: starting namenode, logging to 
/home/dev/HadoopRelease/hadoop-common-0.24.0-SNAPSHOT/libexec/../logs/hadoop-root-namenode-linux-fr5y.out
localhost: starting datanode, logging to 
/home/dev/HadoopRelease/hadoop-common-0.24.0-SNAPSHOT/libexec/../logs/hadoop-root-datanode-linux-fr5y.out
Secondary namenodes are not configured.  Cannot start secondary namenodes.
{code}

{code:xml}
./stop-dfs.sh: line 26: 
/home/dev/HadoopRelease/hadoop-common-0.24.0-SNAPSHOT/libexec/../bin/hdfs: No 
such file or directory
Stopping namenodes on []
localhost: stopping namenode
localhost: stopping datanode
Secondary namenodes are not configured.  Cannot stop secondary namenodes.
{code}


> 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

        

Reply via email to