Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 5F32B1021C for ; Fri, 26 Jul 2013 03:01:36 +0000 (UTC) Received: (qmail 70977 invoked by uid 500); 26 Jul 2013 03:01:31 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 70796 invoked by uid 500); 26 Jul 2013 03:01:30 -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 70789 invoked by uid 99); 26 Jul 2013 03:01:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 03:01:30 +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 (athena.apache.org: domain of harsh@cloudera.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 03:01:25 +0000 Received: by mail-oa0-f45.google.com with SMTP id j1so6293489oag.18 for ; Thu, 25 Jul 2013 20:01:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=zdgpp9zWaTTXrWjKoA4XQgdDkbil1CtSXSdnV4Pnzdo=; b=h6Y76e/8tgASXaINGCPYV2MgONwbo1gPstKFjgIBoAHWFNOlrME+xelLUdWGZz5qAU Rz24AfaSWS4+XZAIdpUD4WjvFtW6NSGWTr0OyWwGshd12Ez2vv39ZfJipFHAc3NzC07N 674gVMvdo3hdWF6WxEwJln/WFkJFhPoX9K/EARap5dmvC7q4p2lTI1mtWqSwk6wdgQUq Qu9odnN90lXXfhafvIJnK+wRWsNfskwl01sB65+CpUtSR5rGeQEvBF4lENE0/NtXH+4H LFMjZ141tMow7NEoU5xyjWDOE2ZwcAnDLIrDZe9MPeHwpXiZ8W1W1GM93ZxEB4q+ktVl O/ag== X-Received: by 10.43.164.129 with SMTP id ms1mr20374780icc.74.1374807664595; Thu, 25 Jul 2013 20:01:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.87.164 with HTTP; Thu, 25 Jul 2013 20:00:44 -0700 (PDT) In-Reply-To: References: From: Harsh J Date: Fri, 26 Jul 2013 08:30:44 +0530 Message-ID: Subject: Re: issure about config namenode HA To: "" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmms6BiQLemC0NIZnZKz3sssEsJTzpYgDPtxt7jMcoqrRwoPo+0ACPxh8yJNOmYevP7jz3/ X-Virus-Checked: Checked by ClamAV on apache.org If you have already configured QJM for NN's edits storage, then yes, it needs to be available. On Fri, Jul 26, 2013 at 8:24 AM, ch huang wrote: > when i config all things and format namenodes, it's error ,it seems all > journal node is unavailable, should the journal node must be start before > format name node? > > > 13/07/26 18:45:39 INFO ipc.Client: Retrying connect to server: > node3/192.168.142.131:8485. Already tried 8 time(s); retry policy is > RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) > 13/07/26 18:45:39 INFO ipc.Client: Retrying connect to server: > node2/192.168.142.130:8485. Already tried 8 time(s); retry policy is > RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) > 13/07/26 18:45:40 INFO ipc.Client: Retrying connect to server: > node1/192.168.142.129:8485. Already tried 9 time(s); retry policy is > RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) > 13/07/26 18:45:40 INFO ipc.Client: Retrying connect to server: > node3/192.168.142.131:8485. Already tried 9 time(s); retry policy is > RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) > 13/07/26 18:45:40 INFO ipc.Client: Retrying connect to server: > node2/192.168.142.130:8485. Already tried 9 time(s); retry policy is > RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) > 13/07/26 18:45:40 FATAL namenode.NameNode: Exception in namenode join > org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if > JNs are ready for formatting. 2 exceptions thrown: > 192.168.142.131:8485: Call From node1/192.168.142.129 to node3:8485 failed > on connection exception: java.net.ConnectException: Connection refused; For > more details see: http://wiki.apache.org/hadoop/ConnectionRefused > 192.168.142.130:8485: Call From node1/192.168.142.129 to node2:8485 failed > on connection exception: java.net.ConnectException: Connection refused; For > more details see: http://wiki.apache.org/hadoop/ConnectionRefused > at > org.apache.hadoop.hdfs.qjournal.client.QuorumException.create(QuorumException.java:81) > at > org.apache.hadoop.hdfs.qjournal.client.QuorumCall.rethrowException(QuorumCall.java:213) > at > org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:218) > at > org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:831) > at > org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:170) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:749) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1121) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1226) > 13/07/26 18:45:40 INFO util.ExitUtil: Exiting with status 1 > 13/07/26 18:45:40 INFO namenode.NameNode: SHUTDOWN_MSG: > /************************************************************ > SHUTDOWN_MSG: Shutting down NameNode at node1/192.168.142.129 > ************************************************************/ -- Harsh J