Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 13991 invoked from network); 4 Jun 2007 17:03:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 17:03:10 -0000 Received: (qmail 99846 invoked by uid 500); 4 Jun 2007 17:03:11 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 99825 invoked by uid 500); 4 Jun 2007 17:03:11 -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 99814 invoked by uid 99); 4 Jun 2007 17:03:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 10:03:11 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 10:03:07 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09CB7714191 for ; Mon, 4 Jun 2007 10:02:47 -0700 (PDT) Message-ID: <25262753.1180976567036.JavaMail.jira@brutus> Date: Mon, 4 Jun 2007 10:02:47 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1456) TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2> In-Reply-To: <3568738.1180761556660.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-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhruba borthakur updated HADOOP-1456: ------------------------------------- Status: Patch Available (was: Open) > TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2> > --------------------------------------------------------------------------------------------- > > Key: HADOOP-1456 > URL: https://issues.apache.org/jira/browse/HADOOP-1456 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assignee: dhruba borthakur > Attachments: testDecommission1456.patch > > > TestDecommission fails sometimes with the following assertion: > junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2> > at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89) > at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285) > More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/ > This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.