Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E2A58369 for ; Thu, 1 Sep 2011 22:56:54 +0000 (UTC) Received: (qmail 52479 invoked by uid 500); 1 Sep 2011 22:56:52 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 52333 invoked by uid 500); 1 Sep 2011 22:56:52 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 52317 invoked by uid 99); 1 Sep 2011 22:56:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 22:56:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of absharma@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 22:56:46 +0000 Received: by iafi7 with SMTP id i7so3544123iaf.35 for ; Thu, 01 Sep 2011 15:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KHIdbilPbnGROtZa3gfycj6eng0CReySJwkefINyTno=; b=uiRTpUpcu5LMVHNeQj2Vt6tSS+Y46MtJasxLKZuG6squTQk7Pa5s0rf9TKLwLTuVaM 83C0LmCCB189OjLuv6Mj0Gm/pbrzSKJRuf8FrZ8WpSbkFeTS8+iGPq2A1RSp2ugfqW3G eU5VHCV5LyHJSryJaHfas9GQBycqXKm5SQ3Vs= MIME-Version: 1.0 Received: by 10.231.66.10 with SMTP id l10mr754675ibi.1.1314917785942; Thu, 01 Sep 2011 15:56:25 -0700 (PDT) Sender: absharma@gmail.com Received: by 10.231.10.205 with HTTP; Thu, 1 Sep 2011 15:56:25 -0700 (PDT) In-Reply-To: References: <201109020400261234936@gmail.com> Date: Thu, 1 Sep 2011 18:56:25 -0400 X-Google-Sender-Auth: 8t0in6g83y1kR99mLEZwtU5MkQI Message-ID: Subject: Re: Namenode not starting From: abhishek sharma To: common-dev@hadoop.apache.org Cc: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Actually, I found the reason. I am running HDFS as "root" and there is a bug that has recently been fixed. https://issues.apache.org/jira/browse/HDFS-1943 Thanks, Abhishek On Thu, Sep 1, 2011 at 6:25 PM, Ravi Prakash wrote: > Hi Abhishek, > > Try reading through the shell scripts before postiing. They are short and > simple enough and you should be able to debug them quite easily. I've see= n > the same error many times. > > Do you see JAVA_HOME set when you $ssh localhost? > > Also which command are you using to start the daemons? > > Fight on, > Ravi > > On Thu, Sep 1, 2011 at 4:35 PM, abhishek sharma wrote: > >> Hi Hailong, >> >> I have installed JDK and set JAVA_HOME correctly (as far as I know). >> >> Output of java -version is: >> java version "1.6.0_04" >> Java(TM) SE Runtime Environment (build 1.6.0_04-b12) >> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode) >> >> I also have another version installed "1.6.0_27" but get same error with >> it. >> >> Abhishek >> >> On Thu, Sep 1, 2011 at 4:00 PM, hailong.yang1115 >> wrote: >> > Hi abhishek, >> > >> > Have you successfully installed java virtual machine like sun JDK befo= re >> running Hadoop? Or maybe you forget to configure the environment variabl= e >> JAVA_HOME? What is the output of the command 'java -version'? >> > >> > Regards >> > >> > Hailong >> > >> > >> > >> > >> > *********************************************** >> > * Hailong Yang, PhD. Candidate >> > * Sino-German Joint Software Institute, >> > * School of Computer Science&Engineering, Beihang University >> > * Phone: (86-010)82315908 >> > * Email: hailong.yang1115@gmail.com >> > * Address: G413, New Main Building in Beihang University, >> > * =A0 =A0 =A0 =A0 =A0 =A0 =A0No.37 XueYuan Road,HaiDian District, >> > * =A0 =A0 =A0 =A0 =A0 =A0 =A0Beijing,P.R.China,100191 >> > *********************************************** >> > >> > From: abhishek sharma >> > Date: 2011-09-02 03:51 >> > To: common-user; common-dev >> > Subject: Namenode not starting >> > Hi all, >> > >> > I am trying to install Hadoop (release 0.20.203) on a machine with >> CentOS. >> > >> > When I try to start HDFS, I get the following error. >> > >> > : Unrecognized option: -jvm >> > : Could not create the Java virtual machine. >> > >> > Any idea what might be the problem? >> > >> > Thanks, >> > Abhishek >> >