Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8065

distcp should have an option to compress data while copying.

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.20.2
    • Fix Version/s: 0.20.2
    • Component/s: fs
    • Labels:
    • Tags:
      distcp

      Description

      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.

        Attachments

        1. patch.distcp.2012-02-10
          9 kB
          Suresh Antony
        2. HADOOP-8065-trunk_2015-11-03.patch
          20 kB
          Stephen Veiss
        3. HADOOP-8065-trunk_2015-11-04.patch
          20 kB
          Stephen Veiss
        4. HADOOP-8065-trunk_2016-04-29-4.patch
          13 kB
          Suraj Nayak
        5. HADOOP-8065.005.patch
          13 kB
          Yongjun Zhang
        6. HADOOP-8065.006.patch
          17 kB
          Yongjun Zhang

          Issue Links

            Activity

              People

              • Assignee:
                snayakm Suraj Nayak
                Reporter:
                santony73_hadoop Suresh Antony
              • Votes:
                5 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated: