Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 26B90781E for ; Wed, 14 Sep 2011 20:00:31 +0000 (UTC) Received: (qmail 82046 invoked by uid 500); 14 Sep 2011 20:00:31 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 82010 invoked by uid 500); 14 Sep 2011 20:00:30 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 81924 invoked by uid 99); 14 Sep 2011 20:00:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 20:00:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 20:00:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5A70A99992 for ; Wed, 14 Sep 2011 20:00:09 +0000 (UTC) Date: Wed, 14 Sep 2011 20:00:09 +0000 (UTC) From: "Devaraj K (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1676376804.28126.1316030409367.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2324) start-dfs.sh and stop-dfs.sh are not working properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104839#comment-13104839 ] Devaraj K commented on HDFS-2324: --------------------------------- Thanks Tom for the info. I am not overlaying the Common and HDFS directories. I am not getting any problem other than "/bin/hdfs: No such file or directory" for secondary name nodes. I feel it is better to handle this error also. Whoever doesn't want to overlay the Common and HDFS directories they can use without facing any problems. Please provide your opinion on this. > 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