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

Avoid use of toString() in output of HDFS ACL shell commands.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The HDFS ACL shell commands have at least one usage of the standard Java toString method to generate shell output (AclEntry#toString). This issue tracks conversion of that code to use methods other than toString. The toString method is useful primarily for debugging. It's preferrable to use a different method to ensure stable output for public interfaces, such as the shell.

        Attachments

        1. HADOOP-13150.002.patch
          9 kB
          Chris Nauroth
        2. HADOOP-13150.001.patch
          9 kB
          Chris Nauroth

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: