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 0D965200C4C for ; Tue, 21 Mar 2017 04:44:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0BAF1160B8F; Tue, 21 Mar 2017 03:44:47 +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 4ECF7160B76 for ; Tue, 21 Mar 2017 04:44:46 +0100 (CET) Received: (qmail 58672 invoked by uid 500); 21 Mar 2017 03:44:45 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 58661 invoked by uid 99); 21 Mar 2017 03:44:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2017 03:44:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DC8D11A0468 for ; Tue, 21 Mar 2017 03:44:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OcTsXYl7jZPF for ; Tue, 21 Mar 2017 03:44:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6C9AF5F488 for ; Tue, 21 Mar 2017 03:44:43 +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 6A50AE08B9 for ; Tue, 21 Mar 2017 03:44:42 +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 BE702254D7 for ; Tue, 21 Mar 2017 03:44:41 +0000 (UTC) Date: Tue, 21 Mar 2017 03:44:41 +0000 (UTC) From: "Omkar Aradhya K S (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11794) distcp can copy blocks in parallel MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Mar 2017 03:44:47 -0000 [ https://issues.apache.org/jira/browse/HADOOP-11794?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15= 934045#comment-15934045 ]=20 Omkar Aradhya K S commented on HADOOP-11794: -------------------------------------------- I was trying to evaluate your patch with ADLS: Tried the bits on a HDInsight 3.5 cluster (this comes with hadoop 2.7) Observed following compatibility issues: a.=09You are checking for instance of {code}DistributedFileSystem{code= } in many places and all other {code}FileSystem{code} implementations don= =E2=80=99t implement {code}DistributedFileSystem{code} i.=09Could this be changed to something more compatible with othe= r {code}FileSystem{code} implementations? b.=09You are using the new {code}DFSUtilClient{code}, which makes Dist= Cp incompatible with older versions of Hadoop i.=09Can this be changed to be backward compatible? If the compatibility issues are addressed, the DistCp with your feature wou= ld be available for other {code}FileSystem{code} implementations and also w= ould be backward compatible. > distcp can copy blocks in parallel > ---------------------------------- > > Key: HADOOP-11794 > URL: https://issues.apache.org/jira/browse/HADOOP-11794 > Project: Hadoop Common > Issue Type: Improvement > Components: tools/distcp > Affects Versions: 0.21.0 > Reporter: dhruba borthakur > Assignee: Yongjun Zhang > Attachments: HADOOP-11794.001.patch, HADOOP-11794.002.patch, HADO= OP-11794.003.patch, HADOOP-11794.004.patch, HADOOP-11794.005.patch, HADOOP-= 11794.006.patch, HADOOP-11794.007.patch, HADOOP-11794.008.patch, MAPREDUCE-= 2257.patch > > > The minimum unit of work for a distcp task is a file. We have files that = are greater than 1 TB with a block size of 1 GB. If we use distcp to copy = these files, the tasks either take a long long long time or finally fails. = A better way for distcp would be to copy all the source blocks in parallel,= and then stich the blocks back to files at the destination via the HDFS Co= ncat API (HDFS-222) -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org