Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CE5A18190 for ; Thu, 10 Mar 2016 03:46:27 +0000 (UTC) Received: (qmail 58128 invoked by uid 500); 10 Mar 2016 03:46:27 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 58062 invoked by uid 500); 10 Mar 2016 03:46:27 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 58050 invoked by uid 99); 10 Mar 2016 03:46:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 03:46:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 22D95C38B0 for ; Thu, 10 Mar 2016 03:46:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nkOFKNvfXeGx for ; Thu, 10 Mar 2016 03:46:23 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F199160D71 for ; Thu, 10 Mar 2016 03:46:22 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id r187so51828980oih.3 for ; Wed, 09 Mar 2016 19:46:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=b/P00LsnbpPZgLGV54coCvIBDLaNkQxScATt10h+YQM=; b=No7MI/+CJNkr1qSpiDBuzBCV7FKAtmbc/KtpGKQ+7T+/VyrT45Wkaxvzu5JxciBIJl sLlhPd8GPPXRD5F7fIYm4FWWM+nKs2FxyGXzBZA95UnOQqk87G6zhFlW7eqQRW8oL40z rtaQIt04rnIa0xOJVmvLlzXGoRB+ejMliLWNwBNuAKdLSb+nvtm7FEuU2ZZQ2ACNqEKt XzUsjQl+97/hDKXJd8oGbkqSl1rgBMBQDGDV75lshFnorglscE3y2BzTNwu2jILpEMg/ fZkSbKO3BKQnQMzYcdyHjinkxuD+rppcX4K6yrSTPG6GCh66enl4PyVLNld/vXQkLXUd KhIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=b/P00LsnbpPZgLGV54coCvIBDLaNkQxScATt10h+YQM=; b=dFb6rrJGNmTLA76CDC4R60MrgWRVLpfZJn+Yc7mQOMjXNnkdPSimXOfeB9hbavT0xN Lm0TZd/8mm6qygtNTimvkw2XkspDnMHNg4QzSZlsMsqljuAhHwZFgtJG1XhOuI0QdRRB h4g2DcPQycjB0dNBFABHxL/m9NUMq8B5E963DwMQBgKjxRLdiP1D5A3G1vKP4MQuxnSd fmuphEZQDcDLqdxJImICyuKxqtQBg8cRZZ3ZIEaXZYSZFzblWoELhMjJ3b45x8SNfMtF mvZ2vH414wPUleo3CKD298Tdu76xvJ0HKenWx4RHFbxX8nz18YZOUNqrZIBwtXVFL462 JlsQ== X-Gm-Message-State: AD7BkJIMgnaryc8SMlz3BAfGCpRJ64KCHEW5SUfOx/LS4E+bPgcPVtLvBod22wsTf7H/nwH/B+rlUob3lJkYQomv MIME-Version: 1.0 X-Received: by 10.202.90.212 with SMTP id o203mr576138oib.117.1457581581747; Wed, 09 Mar 2016 19:46:21 -0800 (PST) Received: by 10.157.7.193 with HTTP; Wed, 9 Mar 2016 19:46:21 -0800 (PST) Received: by 10.157.7.193 with HTTP; Wed, 9 Mar 2016 19:46:21 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Mar 2016 09:16:21 +0530 Message-ID: Subject: Re: HDFS file copy module for Malhar From: Mohit Jotwani To: dev@apex.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113d51b4696210052da9a85a --001a113d51b4696210052da9a85a Content-Type: text/plain; charset=UTF-8 +1 Regards, Mohit On 9 Mar 2016 21:09, "Chinmay Kolhatkar" wrote: > +1. > > On Wed, Mar 9, 2016 at 8:38 PM, Yogi Devendra > wrote: > > > Hi, > > > > I mentioned earlier here, > > > > > http://mail-archives.apache.org/mod_mbox/apex-dev/201602.mbox/%3CCAHekGF9xNa6qvvt4ySGBC4SmCN7_Hn2r9rj2SQSV%2BE1Cc5A0fQ%40mail.gmail.com%3E > > > > I am proposing HDFS file copy module. > > JIRA created for this work is available here : > > https://issues.apache.org/jira/browse/APEXMALHAR-2013 > > > > Please note that, these work is related to but different from > > https://issues.apache.org/jira/browse/APEXMALHAR-2009 which talks about > > concrete operator for writing data to HDFS tuple by tuple. > > > > Main difference here is in case of file copy module; block sequence for a > > file has to be retained. Thus, we need to pass on additional information > > like FileMetaData, BlockMetaData from the upstream operator. > > > > Usecase > > ------------ > > This module can be used with HDFS input module to copy files from HDFS to > > HDFS. > > Large files will be copied in block-by-block approach. > > > > Functionality > > ----------------- > > > > 1. Writing files to HDFS using FileMetaData, BlockMetaData, BlockData > > emitted by HDFS input module. > > 2. Blocks data have to be synchronized to retain original sequence > from > > source > > 3. Support to copy multiple files, recursive copy of directory > structure > > etc. > > 4. Metrics for summary information on the progress of file copy. > > > > Let me know your thoughts on this. You may post your comments on the JIRA > > https://issues.apache.org/jira/browse/APEXMALHAR-2013 > > > > ~ Yogi > > > --001a113d51b4696210052da9a85a--