[ https://issues.apache.org/jira/browse/HADOOP-10887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072425#comment-14072425 ]
Hudson commented on HADOOP-10887: --------------------------------- SUCCESS: Integrated in Hadoop-trunk-Commit #5956 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5956/]) HADOOP-10887. Add XAttrs to ViewFs and make XAttrs + ViewFileSystem internal dir behavior consistent. Contributed by Stephen Chu. (wang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1612951) * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFs.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemBaseTest.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFsBaseTest.java > Add XAttrs to ViewFs and make XAttrs + ViewFileSystem internal dir behavior > consistent > -------------------------------------------------------------------------------------- > > Key: HADOOP-10887 > URL: https://issues.apache.org/jira/browse/HADOOP-10887 > Project: Hadoop Common > Issue Type: Bug > Components: fs, test > Affects Versions: 3.0.0, 2.5.0 > Reporter: Stephen Chu > Assignee: Stephen Chu > Fix For: 2.6.0 > > Attachments: HADOOP-10887.1.patch, HADOOP-10887.2.patch > > > This is very similar to the work done in HADOOP-10845 (Add common tests for > ACLs in combination with viewfs) > Here we make the XAttrs + ViewFileSystem internal dir behavior consistent. > Right now, when users attempt XAttr operation on an internal dir, they will > get an UnsupportedOperationException. Instead, we should throw the > ReadOnlyMountTable AccessControlException or the NotInMountPointException. > We also add the XAttrs APIs to ViewFs. This involves adding them to > ChRootedFs as well. Also, {{listXAttrs}} is missing from FileContext, so we > should add that in. -- This message was sent by Atlassian JIRA (v6.2#6252)