hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAPREDUCE-650) Add atomic move option
Date Mon, 21 Jul 2014 21:48:41 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer resolved MAPREDUCE-650.
----------------------------------------

    Resolution: Fixed

Just checked, yes, atomic is supported in distcpv2. Resolving.

> Add atomic move option
> ----------------------
>
>                 Key: MAPREDUCE-650
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-650
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: distcp
>            Reporter: Richard Theige
>            Assignee: Ravi Gummadi
>         Attachments: d_retries_atomic.patch, d_retries_atomic650_651.patch, d_retries_atomic650_651.v1.patch,
d_retries_atomic_v1.patch
>
>
> Provide support for update to move directories/files atomically by copying the src directory
to a tmp directory (with random/unique name) then move the directory to its target destination
name after all subdirs/files are copied and verified.
> example option ideas
>   hadoop ... distcp -update -move src dst
> or
>   hadoop ... distcp -update -atomic src dst
> to assure file correctness at the destination, before distcp performs the  'move' at
the end of the copy process, it should first perform a strong signature/cksum (e.g. MD4) on
the files.
> The issue/need for this is that applications may attempt to start processing data (because
files are present), prior to completion of a whole directory copy -- resulting in work against
an incomplete data set.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message