Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 32499 invoked from network); 25 Apr 2007 11:38:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Apr 2007 11:38:51 -0000 Received: (qmail 62337 invoked by uid 500); 25 Apr 2007 11:38:57 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 62308 invoked by uid 500); 25 Apr 2007 11:38:57 -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 62299 invoked by uid 99); 25 Apr 2007 11:38:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 04:38:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [203.99.254.143] (HELO rsmtp1.corp.hki.yahoo.com) (203.99.254.143) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 04:38:50 -0700 Received: from [10.80.32.29] (stopfearearth-lr.bangalore.corp.yahoo.com [10.80.32.29]) (authenticated bits=0) by rsmtp1.corp.hki.yahoo.com (8.13.8/8.13.6/y.rout) with ESMTP id l3PBcIg5000636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Apr 2007 04:38:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:content-type:content-transfer-encoding; b=0+WTayX8h3sJmfHZhWSTKBp+C4sO8pHt7fRRfgJ2urqAolQrstI7hIbzkK1eUPAB Message-ID: <462F3DAF.1030700@yahoo-inc.com> Date: Wed, 25 Apr 2007 17:08:23 +0530 From: Tahir Hashmi User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: hadoop-dev@lucene.apache.org Subject: Re: Revision 532317 tests fail with Java 6 References: <462F3AFD.2030905@yahoo-inc.com> In-Reply-To: <462F3AFD.2030905@yahoo-inc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Also found the following in the test's log: ------------- ---------------- --------------- ------------- Standard Error ----------------- Waiting for the Mini HDFS Cluster to start... ------------- ---------------- --------------- Testcase: testCheckpoint took 3.783 sec Caused an ERROR For input string: "0:0:0:0:0:0:1:50010" java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1:50010" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at org.apache.hadoop.dfs.DataNode.createSocketAddr(DataNode.java:98) at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:1092) at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.endBlock(DFSClient.java:1308) at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.flush(DFSClient.java:1260) at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.write(DFSClient.java:1242) at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:38) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) at java.io.DataOutputStream.write(DataOutputStream.java:90) at org.apache.hadoop.fs.ChecksumFileSystem$FSOutputSummer.write(ChecksumFileSystem.java:395) at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:38) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) at java.io.DataOutputStream.write(DataOutputStream.java:90) at java.io.FilterOutputStream.write(FilterOutputStream.java:80) at org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:47) at org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:264) Tahir Hashmi wrote: > Hi! > > I've started getting lots of failures in DFS unit tests since updating > to trunk revision 532317. I get the following warning while building: > > [javac] > /home/tahir/Desktop/Trunk/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java:439: > warning: [unchecked] unchecked call to > getConstructor(java.lang.Class...) as a member of the raw type > java.lang.Class > [javac] randomDataGeneratorCtor = clazz.getConstructor(new > Class[]{Long.TYPE}); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > > > Also, TestCheckpoint fails after throwing the following exception > several times: > > [junit] java.lang.InterruptedException > [junit] at java.lang.Object.wait(Native Method) > [junit] at org.apache.hadoop.ipc.Server$Handler.run(Server.java:547) > [junit] 2007-04-25 16:50:27,622 INFO ipc.Server (Server.java:run(604)) > - IPC Server handler 5 on 44474 caught: java.lang.InterruptedException > > So what's happening? > -- Tahir Hashmi (Grid Dev) Y!M: tn_hashmi http://www.codemartial.org