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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.17.0
    • util
    • None
    • Reviewed
    • 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.patch
          29 kB
          Tsz-wo Sze
        2. 3099_20080402b_0.16.patch
          31 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: