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

Clean up output of FsShell getfacl.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS ACLs (HDFS-4685)
    • Fix Version/s: HDFS ACLs (HDFS-4685)
    • Component/s: fs
    • Labels:
      None

      Description

      This patch will clean up a few formatting issues in the output of the getfacl command:

      1. Currently, the file name is output as the full URI with "hdfs" scheme. We'll change this to print just the path portion for consistency with other shell commands like ls.
      2. Print a blank line after printing an ACL. Linux getfacl does this. It's particularly helpful with getfacl -R, so that you get a visual indicator in between each returned ACL.
      3. The '+' indicator appended to the permissions when the ACL bit is on throws off the nicely aligned table formatting of ls.

        Attachments

        1. HADOOP-10241.1.patch
          3 kB
          Chris Nauroth

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: