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 22CA517DB1 for ; Thu, 26 Feb 2015 02:21:05 +0000 (UTC) Received: (qmail 28942 invoked by uid 500); 26 Feb 2015 02:21:05 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 28886 invoked by uid 500); 26 Feb 2015 02:21:04 -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 28874 invoked by uid 99); 26 Feb 2015 02:21:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2015 02:21:04 +0000 Date: Thu, 26 Feb 2015 02:21:04 +0000 (UTC) From: "Yi Liu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7740) Test truncate with DataNodes restarting 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-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337715#comment-14337715 ] Yi Liu commented on HDFS-7740: ------------------------------ Seems it's not the same reason as HDFS-7695 where NN restarts and is unable to leave SafeMode. While in {{testTruncateWithDataNodesRestart}} NN is not restarted and is caused by {{triggerBlockReportForTests}} can't finish. The only possible reason is that the block report on that datanode is not successful. I can't reproduce this issue locally, but I check the log and find there is indeed no block report after that DN restarts. Let me see more details. > Test truncate with DataNodes restarting > --------------------------------------- > > Key: HDFS-7740 > URL: https://issues.apache.org/jira/browse/HDFS-7740 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: test > Affects Versions: 2.7.0 > Reporter: Konstantin Shvachko > Assignee: Yi Liu > Fix For: 2.7.0 > > Attachments: HDFS-7740.001.patch, HDFS-7740.002.patch, HDFS-7740.003.patch > > > Add a test case, which ensures replica consistency when DNs are failing and restarting. -- This message was sent by Atlassian JIRA (v6.3.4#6332)