diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/ClientProtocol.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/ClientProtocol.java index b3b9573d46..effc10d9fe 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/ClientProtocol.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/ClientProtocol.java @@ -1336,28 +1336,11 @@ public List listXAttrs(String src) /** * Remove xattr of a file or directory.Value in xAttr parameter is ignored. -<<<<<<< .working - * Name must be prefixed with user/trusted/security/system/raw. -======= * The name must be prefixed with the namespace followed by ".". For example, * "user.attr". ->>>>>>> .merge-right.r1614550 *

-<<<<<<< .working - * A regular user only can remove xattr of "user" namespace. - * A super user can remove xattr of "user" and "trusted" namespace. - * XAttr of "security" and "system" namespace is only used/exposed - * internally to the FS impl. - * The xattrs of the "raw" namespace are only used/exposed when accessed in - * the /.reserved/raw HDFS directory hierarchy. These attributes can only be - * accessed by the superuser. - *

- * @see - * http://en.wikipedia.org/wiki/Extended_file_attributes -======= * Refer to the HDFS extended attributes user documentation for details. * ->>>>>>> .merge-right.r1614550 * @param src file or directory * @param xAttr XAttr to remove * @throws IOException