hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Veiss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8065) discp should have an option to compress data while copying.
Date Tue, 03 Nov 2015 23:20:28 GMT

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

Stephen Veiss updated HADOOP-8065:
----------------------------------
    Status: Patch Available  (was: Open)

We needed this feature internally, so I updated the patch for CDH 5.4 and from there to current
trunk. I've attached the trunk version of the patch.

This also includes some tests, and doesn't allow a compression codec to be specified for an
update, as there's no easy way to tell if a file is different between source and destination
if one side is compressed.

> discp should have an option to compress data while copying.
> -----------------------------------------------------------
>
>                 Key: HADOOP-8065
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8065
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.20.2
>            Reporter: Suresh Antony
>            Priority: Minor
>              Labels: distcp
>             Fix For: 0.20.2
>
>         Attachments: HADOOP-8065-trunk_2015-11-03.patch, patch.distcp.2012-02-10
>
>
> We would like compress the data while transferring from our source system to target system.
One way to do this is to write a map/reduce job to compress that after/before being transferred.
This looks inefficient. 
> Since distcp already reading writing data it would be better if it can accomplish while
doing this. 
> Flip side of this is that distcp -update option can not check file size before copying
data. It can only check for the existence of file. 
> So I propose if -compress option is given then file size is not checked.
> Also when we copy file appropriate extension needs to be added to file depending on compression
type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message