Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AEDE9888 for ; Tue, 31 Jan 2012 06:11:37 +0000 (UTC) Received: (qmail 45499 invoked by uid 500); 31 Jan 2012 06:11:36 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 44987 invoked by uid 500); 31 Jan 2012 06:11:32 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 44979 invoked by uid 99); 31 Jan 2012 06:11:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 06:11:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harsh@cloudera.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 06:11:26 +0000 Received: by dakj40 with SMTP id j40so5198911dak.35 for ; Mon, 30 Jan 2012 22:11:05 -0800 (PST) Received: by 10.68.218.106 with SMTP id pf10mr30198114pbc.36.1327990265158; Mon, 30 Jan 2012 22:11:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.247.26 with HTTP; Mon, 30 Jan 2012 22:10:45 -0800 (PST) In-Reply-To: References: From: Harsh J Date: Tue, 31 Jan 2012 11:40:45 +0530 Message-ID: Subject: Re: Problem with Symlinks To: mapreduce-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Try exporting HADOOP_HOME in the launching user's environment to the right path, on every one of your slave nodes where there is no such symlink. Then try starting all again. On Tue, Jan 31, 2012 at 2:57 AM, Mohamed Riadh Trad wrote: > Hi, > > I am upgraded my cluster to hadoop 1.0.0, however, hdfs fails to start an= d I > get the following message: > > ################################### > > starting namenode, logging to > /home/local/trad/hadoop/cluster/hadoop-1.0.0.dfs/bin/../logs/hadoop-trad-= namenode-master_dfs.out > slave001: /home/local/trad/hadoop/cluster/hadoop-1.0.0.dfs/bin/..: Aucun > fichier ou dossier de ce type. > slave002: /home/local/trad/hadoop/cluster/hadoop-1.0.0.dfs/bin/..: Aucun > fichier ou dossier de ce type. > slave003: /home/local/trad/hadoop/cluster/hadoop-1.0.0.dfs/bin/..: Aucun > fichier ou dossier de ce type. > master_dfs: starting secondarynamenode, logging to > /home/local/trad/hadoop/cluster/hadoop-1.0.0.dfs/bin/../logs/hadoop-trad-= secondarynamenode-master_dfs.out > > ################### > > Hadoop is installed as follows: > > on master_dfs:=A0/local/trad/hadoop/cluster/hadoop-1.0.0.dfs/ However the > /local/ is actually a symlink to /home/local so the actual path is > :=A0/home/local/trad/hadoop/cluster/hadoop-1.0.0.dfs/ > on slave001,slave002,slave003:=A0/local/trad/hadoop/cluster/hadoop-1.0.0.= dfs/ > > How to force hadoop 1.0.0 to bypass this redirection? > > Kind regards > > > > Trad Mohamed Riadh, M.Sc, Ing. > PhD. student > INRIA-TELECOM PARISTECH -=A0ENPC School of International Management > > Office: 11-15 > Phone: (33)-1 39 63 59 33 > Fax: (33)-1 39 63 56 74 > Email:=A0riadh.trad@inria.fr > Home page:=A0http://www-rocq.inria.fr/who/Mohamed.Trad/ > --=20 Harsh J Customer Ops. Engineer, Cloudera