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

Need new options in distcp for preserving ower, group and permission

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Added a new option -p to distcp for preserving file/directory status.
      -p[rbugp] Preserve status
                             r: replication number
                             b: block size
                             u: user
                             g: group
                             p: permission
                             -p alone is equivalent to -prbugp
      Show
      Added a new option -p to distcp for preserving file/directory status. -p[rbugp] Preserve status                        r: replication number                        b: block size                        u: user                        g: group                        p: permission                        -p alone is equivalent to -prbugp

      Description

      Currently, distcp -p preserves replication# and block size. Since permissions are introduced, distcp should provide options for preserving ower, group and permission.

        Attachments

        1. 3099_20080402b_0.16.patch
          31 kB
          Tsz Wo Nicholas Sze
        2. 3099_20080402b.patch
          29 kB
          Tsz Wo Nicholas Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: