[ 
https://issues.apache.org/jira/browse/HADOOP-19089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820676#comment-17820676
 ] 

ASF GitHub Bot commented on HADOOP-19089:
-----------------------------------------

anujmodi2021 opened a new pull request, #6592:
URL: https://github.com/apache/hadoop/pull/6592

   ### Description of PR
   Jira: https://issues.apache.org/jira/browse/HADOOP-19089
   
   A while back changes were made to support HDFS.setXAttr() and 
HDFS.getXAttr() on root path for ABFS Driver.
   For these, filesystem level APIs were introduced and used to set/get 
metadata of container.
   Refer to Jira: https://issues.apache.org/jira/browse/HADOOP-18869
   
   Ideally, same set of APIs should be used, and root should be treated as a 
path like any other path.
   This change is to avoid calling container APIs for these HDFS calls.
   
   As a result of this these APIs will fail on root path (as earlier) because 
service does not support get/set of user properties on root path.
   This change will also update the documentation to reflect that these 
operations are not supported on root path.
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> [ABFS] Reverting Back Support of setXAttr() and getXAttr() on root path
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-19089
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19089
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Anuj Modi
>            Assignee: Anuj Modi
>            Priority: Major
>
> A while back changes were made to support HDFS.setXAttr() and HDFS.getXAttr() 
> on root path for ABFS Driver.
> For these, filesystem level APIs were introduced and used to set/get metadata 
> of container.
> Refer to Jira: [HADOOP-18869] ABFS: Fixing Behavior of a File System APIs on 
> root path - ASF JIRA (apache.org)
> Ideally, same set of APIs should be used, and root should be treated as a 
> path like any other path.
> This change is to avoid calling container APIs for these HDFS calls.
> As a result of this these APIs will fail on root path (as earlier) because 
> service does not support get/set of user properties on root path.
> This change will also update the documentation to reflect that these 
> operations are not supported on root path.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to