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

Enhance FsShell file put to support selectively preserving individual file attributes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • fs
    • None

    Description

      hadoop fs -put currently supports the -p option. When used, this option preserves the source file's access time, modification time, ownership and mode. If the destination is HDFS, then this effectively means HDFS must be configured to use modification time. If the HDFS deployment chooses to disable access time by setting dfs.namenode.accesstime.precision to 0, then attempts to use the -p flag all fail with "Access time for hdfs is not configured." This issue proposes to introduce separate options for preserving just ownership, just mode, or just times. For backwards compatibility, the behavior of a bare -p must continue to be preserving all 3.

      Attachments

        Issue Links

          Activity

            People

              jagadesh.kiran Jagadesh Kiran N
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: