From 29dac1d629bb4447e482fa3a7aa0c8b0aa04aeb3 Mon Sep 17 00:00:00 2001 From: Chris Nauroth Date: Fri, 27 Dec 2013 21:00:21 +0000 Subject: [PATCH] HADOOP-10192. FileSystem#getAclStatus has incorrect JavaDocs. Contributed by Chris Nauroth. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-4685@1553737 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/hadoop/fs/FileSystem.java | 4 ++-- hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-4685.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java index 8e2d4efcddb..0c4500c1412 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java @@ -2339,10 +2339,10 @@ public abstract class FileSystem extends Configured implements Closeable { } /** - * Gets the ACLs of files and directories. + * Gets the ACL of a file or directory. * * @param path Path to get - * @return RemoteIterator which returns each AclStatus + * @return AclStatus describing the ACL of the file or directory * @throws IOException if an ACL could not be read */ public AclStatus getAclStatus(Path path) throws IOException { diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-4685.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-4685.txt index 0cbb1bae04c..7b07ed58e6a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-4685.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-4685.txt @@ -24,6 +24,8 @@ HDFS-4685 (Unreleased) HADOOP-10187. FsShell CLI: add getfacl and setfacl with minimal support for getting and setting ACLs. (Vinay via cnauroth) + HADOOP-10192. FileSystem#getAclStatus has incorrect JavaDocs. (cnauroth) + OPTIMIZATIONS BUG FIXES