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

distcp should have an option to compress data while copying.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 0.20.2
    • 0.20.2
    • fs
    • distcp


      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.


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

        Issue Links


          This comment will be Viewable by All Users Viewable by All Users


            snayakm Suraj Nayak Assign to me
            santony73_hadoop Suresh Antony




                Issue deployment