Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CC027F12 for ; Mon, 26 Sep 2011 22:43:36 +0000 (UTC) Received: (qmail 72404 invoked by uid 500); 26 Sep 2011 22:43:36 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 72370 invoked by uid 500); 26 Sep 2011 22:43:36 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 72361 invoked by uid 99); 26 Sep 2011 22:43:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 22:43:36 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 22:43:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8A24928AD0E for ; Mon, 26 Sep 2011 22:43:12 +0000 (UTC) Date: Mon, 26 Sep 2011 22:43:12 +0000 (UTC) From: "Aaron T. Myers (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1519379507.462.1317076992567.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <837904519.39075.1316292548903.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2346) TestHost2NodesMap & TestReplicasMap tests are failing in 0.23 branch & Trunk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114992#comment-13114992 ] Aaron T. Myers commented on HDFS-2346: -------------------------------------- To reduce the inter-test dependency, might it make sense to reinitialize the {{ReplicasMap}} object in the {{setup()}} method each time? Even though {{ReplicasMap}} is no longer static, it's still shared between the test methods in the class. The original code would only add the block to the map once, since it was annotated with {{@BeforeClass}}, but now the {{setup()}} method will be executed for each test method. > TestHost2NodesMap & TestReplicasMap tests are failing in 0.23 branch & Trunk > ---------------------------------------------------------------------------- > > Key: HDFS-2346 > URL: https://issues.apache.org/jira/browse/HDFS-2346 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 0.20.205.0, 0.22.0, 0.23.0, 0.24.0 > Reporter: Uma Maheswara Rao G > Assignee: Laxman > Priority: Blocker > Attachments: HDFS-2346.20-security.205.Patch, HDFS-2346.22Branch.patch, HDFS-2346.Trunk.patch, HDFS-2346.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira