Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 D657B1827C for ; Mon, 14 Dec 2015 19:42:47 +0000 (UTC) Received: (qmail 8092 invoked by uid 500); 14 Dec 2015 19:42:47 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 7684 invoked by uid 500); 14 Dec 2015 19:42:46 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 7660 invoked by uid 99); 14 Dec 2015 19:42:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 19:42:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 973102C1F56 for ; Mon, 14 Dec 2015 19:42:46 +0000 (UTC) Date: Mon, 14 Dec 2015 19:42:46 +0000 (UTC) From: "Yongjun Zhang (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MAPREDUCE-6572) Improved incremental data copy of distcp for truncated file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Yongjun Zhang created MAPREDUCE-6572: ---------------------------------------- Summary: Improved incremental data copy of distcp for truncated file Key: MAPREDUCE-6572 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6572 Project: Hadoop Map/Reduce Issue Type: Bug Reporter: Yongjun Zhang Assignee: John Zhuge MAPREDUCE-5899 improves distcp by supporting incremental data copy. That is, if a file is only appended since it was copied last time, only new data need to be copied. This improvement was done before HDFS truncate feature (HDFS-3107) was implemented. Since we support truncate, if a large file is truncated a little bit, the whole file will still need to be copied, even with the solution of MAPREDUCE-5899. Creating this jira to improve the situation, by possibly remembering the smallest truncated size, so there is chance to only append from that size on. Thanks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)