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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha2
    • None
    • None
    • 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.001.patch
          9 kB
          Chris Nauroth
        2. HADOOP-13150.002.patch
          9 kB
          Chris Nauroth

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment