Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 215E39555 for ; Tue, 3 Jul 2012 20:23:12 +0000 (UTC) Received: (qmail 3314 invoked by uid 500); 3 Jul 2012 20:23:11 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 3117 invoked by uid 500); 3 Jul 2012 20:23:10 -0000 Mailing-List: contact hdfs-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-user@hadoop.apache.org Delivered-To: mailing list hdfs-user@hadoop.apache.org Received: (qmail 3108 invoked by uid 99); 3 Jul 2012 20:23:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 20:23:10 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.48] (HELO mail-bk0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 20:23:04 +0000 Received: by bkty7 with SMTP id y7so3264832bkt.35 for ; Tue, 03 Jul 2012 13:22:43 -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:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=OWmj3wjA3GD3qEsxPiIR20mEV1X+cd5w15Yr/Wth66U=; b=ZSMrohsRGghgNX8rDbPq52J6hz63CvTe/OAEGR/PX2oW15Z24in6Nm95aDVlHcdC2w JGTiLzUbhUKPS2tVwUxEj0pA4r4bORNNFEdLMlQ5gCR8JMJ1vl6HKnA03N+IlduaMmqO jmduENyhaY/HVXG9YBjPBdKs3uVXPUFhyrktDC3cdYXU4or04vHMk4yqMyXgHsl2DEGP PxqFemb7MWXv1sUMJt+cXPmQ2yZkJfnqGgHQlkcKV//v7D66wFKxlKscrAB96SPLWwKK IfHkXbnNrLt8YNegrVqwh68x9xj3ha4JDEi0ZH7FwLvxXv4wlyy9dgivriwIj8CTsjzW oDYA== MIME-Version: 1.0 Received: by 10.204.128.90 with SMTP id j26mr4112095bks.126.1341346963416; Tue, 03 Jul 2012 13:22:43 -0700 (PDT) Received: by 10.204.164.80 with HTTP; Tue, 3 Jul 2012 13:22:43 -0700 (PDT) In-Reply-To: <4FF33234.9090703@bnl.gov> References: <4FF33234.9090703@bnl.gov> Date: Tue, 3 Jul 2012 13:22:43 -0700 Message-ID: Subject: Re: 'Cannot roll edit log' From: Brandon Li To: hdfs-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0015174c41c846661c04c3f2adbd X-Gm-Message-State: ALoCoQnCSqvSq0aaool8qJp3PBLn6/8aMCuUmJguKWRD460119ZfT4XPXGJynygLCTrI7JM2JNRY --0015174c41c846661c04c3f2adbd Content-Type: text/plain; charset=ISO-8859-1 With 1.0.2, only one checkpoint process is executed at a time. When the namenode gets an overlapping checkpointing request, it checks edit.new in its storage directories. If all of them have this file, namenode concludes the previous checkpoint process is not done yet and prints the warning message you've seen. Brandon On Tue, Jul 3, 2012 at 10:56 AM, Terry Healy wrote: > Running Apache 1.0.2. > > The NN log is reporting that it cannot "roll the edit log" from the > secondary NN. The SecondaryNameNode is running on the system referred to > as xxx.yyy.254.238 in the log snippet below. > > From the NN, I can connect to the Secondary via ssh as the user. Any > suggestions what have I got wrong here? > > thanks, > > Terry > > INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log > from xxx.yyy.254.238 > WARN org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Cannot roll > edit log, edits.new files already exists in all healthy directories: > /home/[user]/hdfs/name/current/edits.new > > ERROR org.apache.hadoop.security.UserGroupInformation: > PriviledgedActionException as:[user] cause:java.net.ConnectException: > Connection refused > ERROR org.apache.hadoop.security.UserGroupInformation: > PriviledgedActionException as:[user] cause:java.net.ConnectException: > Connection refused > > WARN org.mortbay.log: /getimage: java.io.IOException: GetImage failed. > java.net.ConnectException: Connection refused > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) > .... > > > -- > Terry Healy / thealy@bnl.gov > Cyber Security Operations > Brookhaven National Laboratory > Building 515, Upton N.Y. 11973 > > --0015174c41c846661c04c3f2adbd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable With 1.0.2, only one checkpoint process is executed at a time. When the nam= enode gets an overlapping checkpointing request, it checks edit.new in its = storage directories. If all of them have this file, namenode concludes the = previous checkpoint process is not done yet and prints the warning message = you've seen.

Brandon

On Tue, Jul 3, 2012 at 10:56 = AM, Terry Healy <thealy@bnl.gov> wrote:
Running Apache 1.0.2.

The NN log is reporting that it cannot "roll the edit log" from t= he
secondary NN. The SecondaryNameNode is running on the system referred to as xxx.yyy.254.238 in the log snippet below.

>From the NN, I can connect to the Secondary via ssh as the user. Any
suggestions what have I got wrong here?

thanks,

Terry

INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log
from xxx.yyy.254.238
WARN org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Cannot roll
edit log, edits.new files already exists in all healthy directories:
=A0 /home/[user]/hdfs/name/current/edits.new

ERROR org.apache.hadoop.security.UserGroupInformation:
PriviledgedActionException as:[user] cause:java.net.ConnectException:
Connection refused
ERROR org.apache.hadoop.security.UserGroupInformation:
PriviledgedActionException as:[user] cause:java.net.ConnectException:
Connection refused

WARN org.mortbay.log: /getimage: java.io.IOException: GetImage failed.
java.net.ConnectException: Connection refused
=A0 =A0 =A0 =A0 at java.net.PlainSocketImpl.socketConnect(Native Method) =A0 =A0 =A0 =A0 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:= 351)
....


--
Terry Healy / thealy@bnl.gov
Cyber Security Operations
Brookhaven National Laboratory
Building 515, Upton N.Y. 11973


--0015174c41c846661c04c3f2adbd--