[
https://issues.apache.org/jira/browse/HADOOP-13150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553121#comment-15553121
]
Hudson commented on HADOOP-13150:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10560 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/10560/])
HADOOP-13150. Avoid use of toString() in output of HDFS ACL shell (cnauroth:
rev 1d330fbaf6b50802750aa461640773fb788ef884)
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/AclCommands.java
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/AclStatus.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/AclEntryScope.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/AclPermissionParam.java
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/AclEntry.java
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/AclEntryType.java
> Avoid use of toString() in output of HDFS ACL shell commands.
> -------------------------------------------------------------
>
> Key: HADOOP-13150
> URL: https://issues.apache.org/jira/browse/HADOOP-13150
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HADOOP-13150.001.patch, HADOOP-13150.002.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]