Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DDCB0200D64 for ; Tue, 12 Dec 2017 02:03:25 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DC3E0160C22; Tue, 12 Dec 2017 01:03:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2E38F160C13 for ; Tue, 12 Dec 2017 02:03:25 +0100 (CET) Received: (qmail 91309 invoked by uid 500); 12 Dec 2017 01:03:24 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 91297 invoked by uid 99); 12 Dec 2017 01:03:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2017 01:03:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 82D66C69DD for ; Tue, 12 Dec 2017 01:03:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UNJyX8IfnykQ for ; Tue, 12 Dec 2017 01:03:22 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A8E2B62749 for ; Tue, 12 Dec 2017 01:03:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DEE0EE25CB for ; Tue, 12 Dec 2017 01:03:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1F5732130A for ; Tue, 12 Dec 2017 01:02:59 +0000 (UTC) Date: Tue, 12 Dec 2017 01:02:59 +0000 (UTC) From: "Wei-Chiu Chuang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-12891) Do not invalidate blocks if toInvalidate is empty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 12 Dec 2017 01:03:26 -0000 [ https://issues.apache.org/jira/browse/HDFS-12891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDFS-12891: ----------------------------------- Resolution: Fixed Fix Version/s: 3.0.1 Status: Resolved (was: Patch Available) Committed the patch 02 to trunk (3.1.0) and branch-3.0 (3.0.1). Thanks [~zvenczel] for identifying and fixing the issue! Note i updated the jira summary. This is a bug in the code that is caught by a test, so want to update the summary to reflect that fact. > Do not invalidate blocks if toInvalidate is empty > ------------------------------------------------- > > Key: HDFS-12891 > URL: https://issues.apache.org/jira/browse/HDFS-12891 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Zsolt Venczel > Assignee: Zsolt Venczel > Labels: flaky-test > Fix For: 3.1.0, 3.0.1 > > Attachments: HDFS-12891.01.patch, HDFS-12891.02.patch > > > {code:java} > java.lang.AssertionError: Test resulted in an unexpected exit > at org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencingWithReplication.testFencingStress(TestDNFencingWithReplication.java:147) > : > : > 2017-10-19 21:39:40,068 [main] INFO hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdown(1965)) - Shutting down the Mini HDFS Cluster > 2017-10-19 21:39:40,068 [main] FATAL hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdown(1968)) - Test resulted in an unexpected exit > 1: java.lang.AssertionError > at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:265) > at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$RedundancyMonitor.run(BlockManager.java:4437) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.AssertionError > at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.addBlocksToBeInvalidated(DatanodeDescriptor.java:641) > at org.apache.hadoop.hdfs.server.blockmanagement.InvalidateBlocks.invalidateWork(InvalidateBlocks.java:299) > at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.invalidateWorkForOneNode(BlockManager.java:4246) > at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeInvalidateWork(BlockManager.java:1736) > at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeDatanodeWork(BlockManager.java:4561) > at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$RedundancyMonitor.run(BlockManager.java:4418) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org