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

Add option to distcp to preserve file path structure of source files at the destination

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha2
    • None
    • distcp
    • Software platform

    • distcp
    • Patch

    Description

      When copying files using distcp with globbed source files, all the matched files in the glob are copied in a single flat directory. This causes problems when the file structure at the source is important. It also is an issue when there are two files matched in the glob with the same name because it causes a duplicate file error at the target. I'd like to have an option to preserve the file structure of the source files when globbing inputs.

      Attachments

        1. MAPREDUCE-6734.3.0.0-alpha2.patch
          26 kB
          Frederick Tucker
        2. MAPREDUCE-6734.3.0.0-alpha2.patch
          27 kB
          Frederick Tucker

        Activity

          People

            Unassigned Unassigned
            fctucker Frederick Tucker
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified