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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: distcp
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: