Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 82200 invoked from network); 6 Feb 2010 00:42:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Feb 2010 00:42:49 -0000 Received: (qmail 6388 invoked by uid 500); 6 Feb 2010 00:42:49 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 6320 invoked by uid 500); 6 Feb 2010 00:42:48 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 6310 invoked by uid 99); 6 Feb 2010 00:42:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Feb 2010 00:42:48 +0000 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; Sat, 06 Feb 2010 00:42:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E9EF829A0025 for ; Fri, 5 Feb 2010 16:42:27 -0800 (PST) Message-ID: <1909334027.88871265416947956.JavaMail.jira@brutus.apache.org> Date: Sat, 6 Feb 2010 00:42:27 +0000 (UTC) From: "Scott Carey (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Commented: (AVRO-407) java data interop tests fail In-Reply-To: <197470190.86491265411908166.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830392#action_12830392 ] Scott Carey commented on AVRO-407: ---------------------------------- I don't know what it is. I refactored DataFileStream to have a nextBlock() and hasNextBlock() method and during that resolved some unit test failures with similar stack traces to the above. I'll check out from trunk separately and see if it looks familiar. > java data interop tests fail > ---------------------------- > > Key: AVRO-407 > URL: https://issues.apache.org/jira/browse/AVRO-407 > Project: Avro > Issue Type: Bug > Components: java > Reporter: Doug Cutting > Priority: Blocker > Fix For: 1.3.0 > > > Java data file interop tests currently fail. > If you run: cd lang/java; ant interop-data-generate interop-data-test > Then the test log shows: > java.io.IOException: Incomplete Block > org.apache.avro.AvroRuntimeException: java.io.IOException: Incomplete Block > at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:169) > at org.apache.avro.TestDataFile.readFile(TestDataFile.java:193) > at org.apache.avro.TestDataFile$InteropTest.readFiles(TestDataFile.java:238) > at org.apache.avro.TestDataFile$InteropTest.testGeneratedGeneric(TestDataFile.java:216) > Caused by: java.io.IOException: Incomplete Block > at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:161) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.