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 7CC22185D3 for ; Fri, 24 Apr 2015 06:37:41 +0000 (UTC) Received: (qmail 29262 invoked by uid 500); 24 Apr 2015 06:37:41 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 29218 invoked by uid 500); 24 Apr 2015 06:37:41 -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 29206 invoked by uid 99); 24 Apr 2015 06:37:41 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 06:37:41 +0000 Date: Fri, 24 Apr 2015 06:37:41 +0000 (UTC) From: "Vinayakumar B (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8217) During block recovery for truncate Log new Block Id in case of copy-on-truncate is true. 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-8217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14510549#comment-14510549 ] Vinayakumar B commented on HDFS-8217: ------------------------------------- Removed the .02 patch to not to confuse further > During block recovery for truncate Log new Block Id in case of copy-on-truncate is true. > ---------------------------------------------------------------------------------------- > > Key: HDFS-8217 > URL: https://issues.apache.org/jira/browse/HDFS-8217 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Reporter: Vinayakumar B > Assignee: Vinayakumar B > Attachments: HDFS-8217-01.patch > > > During the block recovery for the truncate, include the newblock Id in case copy-on-truncate set to true. > Current log message is just as below. > {noformat}NameNode at /127.0.0.1:55036 calls recoverBlock(BP-409377067-xx.xx.xx.253-1429679063755:blk_1073741825_1001, targets=[DatanodeInfoWithStorage[127.0.0.1:55045,null,null]], newGenerationStamp=1002){noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)