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 E4A9D88F4 for ; Thu, 1 Sep 2011 21:35:41 +0000 (UTC) Received: (qmail 63916 invoked by uid 500); 1 Sep 2011 21:35:36 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 63820 invoked by uid 500); 1 Sep 2011 21:35:35 -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 63805 invoked by uid 99); 1 Sep 2011 21:35:35 -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 21:35:35 +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.161.176 as permitted sender) Received: from [209.85.161.176] (HELO mail-gx0-f176.google.com) (209.85.161.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 21:35:29 +0000 Received: by gxk7 with SMTP id 7so2302015gxk.35 for ; Thu, 01 Sep 2011 14:35:08 -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=mHEmdpnqP1jYWRr8acWmq6WRtg9p6BGWM0zdbRSp3cw=; b=aM3jgfznGkffE0yigbvFcDMfCfruNXPLW+9r1MDnOLZvSKCRr8pFafISSfddtzay/J 9cF1to0OlRg/BczLCQVJE9ocp63hyNQ/nvmA4Rlm7cZuAKZpD35atN9xAH3mMiGI4SYF trIxXf0SWnTl5osQDbcAk0XgmIMCUzt5rjLjY= MIME-Version: 1.0 Received: by 10.42.139.9 with SMTP id e9mr269749icu.512.1314912907814; Thu, 01 Sep 2011 14:35:07 -0700 (PDT) Sender: absharma@gmail.com Received: by 10.231.10.205 with HTTP; Thu, 1 Sep 2011 14:35:07 -0700 (PDT) In-Reply-To: <201109020400261234936@gmail.com> References: <201109020400261234936@gmail.com> Date: Thu, 1 Sep 2011 17:35:07 -0400 X-Google-Sender-Auth: PL72Rc1M8WDD55A81eUEw80S2Qc Message-ID: Subject: Re: Namenode not starting From: abhishek sharma To: common-user@hadoop.apache.org Cc: common Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 before = running Hadoop? Or maybe you forget to configure the environment variable J= AVA_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