Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 163EF11057 for ; Wed, 23 Jul 2014 18:01:45 +0000 (UTC) Received: (qmail 17204 invoked by uid 500); 23 Jul 2014 18:01:44 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 17147 invoked by uid 500); 23 Jul 2014 18:01:44 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 17133 invoked by uid 99); 23 Jul 2014 18:01:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 18:01:44 +0000 Date: Wed, 23 Jul 2014 18:01:44 +0000 (UTC) From: "Stephen Chu (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-10887) Add XAttrs to ViewFs and make XAttrs + ViewFileSystem internal dir behavior consistent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Stephen Chu created HADOOP-10887: ------------------------------------ Summary: 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 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)