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

distcp should have an option to compress data while copying.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 0.20.2
    • 0.20.2
    • fs
    • 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. HADOOP-8065.006.patch
          17 kB
          Yongjun Zhang
        2. HADOOP-8065.005.patch
          13 kB
          Yongjun Zhang
        3. HADOOP-8065-trunk_2016-04-29-4.patch
          13 kB
          Suraj Nayak
        4. HADOOP-8065-trunk_2015-11-04.patch
          20 kB
          Stephen Veiss
        5. HADOOP-8065-trunk_2015-11-03.patch
          20 kB
          Stephen Veiss
        6. patch.distcp.2012-02-10
          9 kB
          Suresh Antony

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: