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 A457910716 for ; Mon, 26 Aug 2013 22:12:00 +0000 (UTC) Received: (qmail 44624 invoked by uid 500); 26 Aug 2013 22:11:55 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 44528 invoked by uid 500); 26 Aug 2013 22:11:55 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 44521 invoked by uid 99); 26 Aug 2013 22:11:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 22:11:55 +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.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 22:11:50 +0000 Received: by mail-ie0-f178.google.com with SMTP id f4so5824601iea.23 for ; Mon, 26 Aug 2013 15:11:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=//S3+L5MQfEiyfikvEqKjTZfwKbmL5e+A0rHbqxJyfk=; b=CmBYIKm5Q4Jrt0ead1n118ilHFiMOhdNPmC5tWWEq0EaPs0Wji2I+szpfF+6i5X1r2 2laTDlKZIx2TBwNUKNJwN5i2zDcq2MyzeFun1M5Dz0noFVtHPybStGVCIKNv9bFu0tGm TkNZ6lcP0bwR7qLP4hK8xA1eiBYbcvAVJM/0zdIMrSG5BX20D/Xmlsw2mohPkSpsRBc4 INhKGb8wJf2g0rVV1RIkscZXitkRHR+bu5oBFp5AGMqm1ZNyXp14FLx54hlLb/0VZMNq wz9C32Y64t//8H1RGO/Q4nt/oECwEek5M8+MjuUVMOKnqL2OACC4+HWiAZXA771lWJlC rh8g== X-Gm-Message-State: ALoCoQlNrxed8orA/iGOfTH1KN1qVtS15IqoGxg48PImlfmg/lWe4eHP6bTk4PEzZrHAuWLU1kN0 X-Received: by 10.50.50.104 with SMTP id b8mr8215715igo.1.1377555089099; Mon, 26 Aug 2013 15:11:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.101.202 with HTTP; Mon, 26 Aug 2013 15:11:08 -0700 (PDT) In-Reply-To: <4FD323DAC825AA4882CB54C01B499C222E4622@EADC-E-MABPRD13.ad.gd-ais.com> References: <4FD323DAC825AA4882CB54C01B499C222E4622@EADC-E-MABPRD13.ad.gd-ais.com> From: Harsh J Date: Tue, 27 Aug 2013 03:41:08 +0530 Message-ID: Subject: Re: HDFS Startup Failure due to dfs.namenode.rpc-address and Shared Edits Directory To: "" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org It is not quite from your post, so a Q: Do you intend to use HA or not? Can you share your complete core-site.xml and hdfs-site.xml along with a brief note on the deployment? On Tue, Aug 27, 2013 at 12:48 AM, Smith, Joshua D. wrote: > When I try to start HDFS I get an error in the log that says=85 > > > > org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem > initialization failed. > > java.io.IOException: Invalid configuration: a shared edits dir must not b= e > specified if HA is not enabled. > > > > I have the following properties configured as per page 12 of the CDH4 Hig= h > Availability Guide=85 > > http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/lates= t/PDF/CDH4-High-Availability-Guide.pdf > > > > > > dfs.namenode.rpc-address.mycluster.nn1 > > nn.domain:8020 > > > > > > dfs.namenode.rpc-address.mycluster.nn2 > > snn.domain:8020 > > > > > > When I look at the Hadoop source code that generates the error message I = can > see that it=92s failing because it=92s looking for dfs.namenode.rpc-addre= ss > without the suffix. I=92m assuming that the suffix gets lopped off at som= e > point before it gets pulled up and the property is checked for, so maybe = I > have the suffix wrong? > > > > In any case I can=92t get HDFS to start because it=92s looking for a prop= erty > that I don=92t have in the truncated for and it doesn=92t seem to be find= ing the > form of it with the suffix. Any assistance would be most appreciated. > > > > Thanks, > > Josh --=20 Harsh J