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

FsShell Copy Commands Should Optionally Preserve File Attributes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.2, 2.0.3-alpha
    • 2.1.0-beta
    • fs
    • None
    • Reviewed

    Description

      The attached patch adds a -p flag to the copyFromLocal and copyToLocal FsShell commands that behaves (as far as possible) like the unix 'cp' command's -p flag (i.e. preserves file last access and last modification times).

      Attachments

        1. HADOOP-9338.0.patch
          16 kB
          Nick White
        2. HADOOP-9338.1.patch
          24 kB
          Nick White
        3. HADOOP-9338.2.patch
          24 kB
          Nick White
        4. HADOOP-9338.3.patch
          26 kB
          Nick White
        5. HADOOP-9338.patch
          26 kB
          Aaron Myers

        Activity

          People

            njw45 Nick White
            njw45 Nick White
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: