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

DistCp should not setTimes on directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.22.0
    • None
    • distcp
    • None

    Description

      On finalize() stage DistCp attempts to updateDestStatus(), which includes calling setTimes(). In HDFS setTimes() is not supported for directories, therefore DistCp fails if there are directories in the tree.
      It looks the failure occurs only when there are no files to copy.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: