Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 82143 invoked from network); 19 Jun 2010 23:34:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jun 2010 23:34:46 -0000 Received: (qmail 2986 invoked by uid 500); 19 Jun 2010 23:34:45 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 2842 invoked by uid 500); 19 Jun 2010 23:34:44 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 2830 invoked by uid 99); 19 Jun 2010 23:34:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jun 2010 23:34:44 +0000 X-ASF-Spam-Status: No, hits=-1532.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jun 2010 23:34:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5JNYNZp010016 for ; Sat, 19 Jun 2010 23:34:23 GMT Message-ID: <11660830.97311276990463434.JavaMail.jira@thor> Date: Sat, 19 Jun 2010 19:34:23 -0400 (EDT) From: "Todd Lipcon (JIRA)" To: hdfs-dev@hadoop.apache.org Subject: [jira] Created: (HDFS-1252) TestDFSConcurrentFileOperations broken in 0.20-appendj MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 TestDFSConcurrentFileOperations broken in 0.20-appendj ------------------------------------------------------ Key: HDFS-1252 URL: https://issues.apache.org/jira/browse/HDFS-1252 Project: Hadoop HDFS Issue Type: Test Components: test Affects Versions: 0.20-append Reporter: Todd Lipcon Assignee: Todd Lipcon Fix For: 0.20-append This test currently has several flaws: - It calls DN.updateBlock with a BlockInfo instance, which then causes java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.hdfs.server.namenode.BlocksMap$BlockInfo.() in the logs when the DN tries to send blockReceived for the block - It assumes that getBlockLocations returns an up-to-date length block after a sync, which is false. It happens to work because it calls getBlockLocations directly on the NN, and thus gets a direct reference to the block in the blockmap, which later gets updated This patch fixes this test to use the AppendTestUtil functions to intiiate recovery, and generally pass more reliably. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.