Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 30304 invoked from network); 27 May 2008 16:30:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 May 2008 16:30:34 -0000 Received: (qmail 88236 invoked by uid 500); 27 May 2008 16:30:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 88212 invoked by uid 500); 27 May 2008 16:30:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 88199 invoked by uid 99); 27 May 2008 16:30:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 09:30:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 16:29:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 16CF3234C126 for ; Tue, 27 May 2008 09:30:07 -0700 (PDT) Message-ID: <1371247042.1211905807086.JavaMail.jira@brutus> Date: Tue, 27 May 2008 09:30:07 -0700 (PDT) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3448) Add some more hints of the problem when datanode and namenode don't match In-Reply-To: <860341900.1211905562804.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600182#action_12600182 ] Steve Loughran commented on HADOOP-3448: ---------------------------------------- The patch I've submitted adds the version information, so the the stack trace can be more useful than : java.lang.AssertionError: Data-node and name-node layout versions must be the same., However, one thing to consider is whether this should be checked every time the datanode starts up, rather than skipping it if -ea is disabled. Otherwise there is a risk that the problem will not be picked up in production. > Add some more hints of the problem when datanode and namenode don't match > ------------------------------------------------------------------------- > > Key: HADOOP-3448 > URL: https://issues.apache.org/jira/browse/HADOOP-3448 > Project: Hadoop Core > Issue Type: Improvement > Components: documentation > Affects Versions: 0.18.0 > Reporter: Steve Loughran > Priority: Minor > Attachments: hadoop-3448.patch > > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > When there is a mismatch between name and data mode, and you are running with -ea set, then Datanode.handshake() bails out with an assertion "Data-node and name-node layout versions must be the same."; > However, this message doesnt actually say which version numbers are at fault. A better error message would include the version information, so pointing the finger of blame would be easier. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.