Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-644

distcp does not skip copying file if we are updating single file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • distcp
    • None

    Description

      distcp doesn't skip copying file when we do -update on single file if the destfile already exists.

      When we do

      hadoop distcp -update srcfilename destfilename

      it seems to be comparing checksums of srcfilename and destfilename/srcfilename and so skip is not done. It should compare checksums of srcfilename and destfilename.

      Attachments

        1. d_singlefile_update.patch
          3 kB
          Ravi Gummadi
        2. d_singlefile_update644.patch
          5 kB
          Ravi Gummadi

        Issue Links

          Activity

            People

              ravidotg Ravi Gummadi
              ravidotg Ravi Gummadi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: