Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 56581 invoked from network); 15 Jul 2006 00:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jul 2006 00:06:18 -0000 Received: (qmail 7990 invoked by uid 500); 15 Jul 2006 00:06:18 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 7835 invoked by uid 500); 15 Jul 2006 00:06:17 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 7826 invoked by uid 99); 15 Jul 2006 00:06:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jul 2006 17:06:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jul 2006 17:06:16 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AFAA341001F for ; Sat, 15 Jul 2006 00:04:14 +0000 (GMT) Message-ID: <2113093.1152921854717.JavaMail.jira@brutus> Date: Fri, 14 Jul 2006 17:04:14 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-365) datanode crashes on startup with ClassCastException In-Reply-To: <16601882.1152920113917.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-365?page=all ] Owen O'Malley updated HADOOP-365: --------------------------------- Attachment: datanode-class-cast.patch This fixes the expression to get the Thread out of the MapEntry. > datanode crashes on startup with ClassCastException > --------------------------------------------------- > > Key: HADOOP-365 > URL: http://issues.apache.org/jira/browse/HADOOP-365 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.5.0 > Reporter: Owen O'Malley > Assigned To: Owen O'Malley > Fix For: 0.5.0 > > Attachments: datanode-class-cast.patch > > > When I bring up a DataNode it gets a ClassCastException: > Exception in thread "main" java.lang.ClassCastException: java.util.HashMap$Entry > at org.apache.hadoop.dfs.DataNode.runAndWait(DataNode.java:907) > at org.apache.hadoop.dfs.DataNode.main(DataNode.java:954) > This was introduced by the patch for HADOOP-354. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira