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 262E910C5A for ; Fri, 23 Oct 2015 18:27:28 +0000 (UTC) Received: (qmail 53296 invoked by uid 500); 23 Oct 2015 18:27:28 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 53233 invoked by uid 500); 23 Oct 2015 18:27:27 -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 53215 invoked by uid 99); 23 Oct 2015 18:27:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2015 18:27:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C01FE2C1F5E for ; Fri, 23 Oct 2015 18:27:27 +0000 (UTC) Date: Fri, 23 Oct 2015 18:27:27 +0000 (UTC) From: "Tony Wu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9297) Update TestBlockMissingException to use corruptBlockOnDataNodesByDeletingBlockFile() 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/HDFS-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971546#comment-14971546 ] Tony Wu commented on HDFS-9297: ------------------------------- The failed tests are not related to this change. > Update TestBlockMissingException to use corruptBlockOnDataNodesByDeletingBlockFile() > ------------------------------------------------------------------------------------ > > Key: HDFS-9297 > URL: https://issues.apache.org/jira/browse/HDFS-9297 > Project: Hadoop HDFS > Issue Type: Improvement > Components: HDFS, test > Affects Versions: 2.7.1 > Reporter: Tony Wu > Assignee: Tony Wu > Priority: Trivial > Attachments: HDFS-9297.001.patch > > > TestBlockMissingException uses its own function to corrupt a block by deleting all its block files. HDFS-7235 introduced a helper function {{corruptBlockOnDataNodesByDeletingBlockFile()}} that does exactly the same thing. We can update this test to use the helper function. -- This message was sent by Atlassian JIRA (v6.3.4#6332)