You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2017/08/12 23:50:01 UTC

[jira] [Created] (HDFS-12294) Support /.reserved/bypassExtAttr prefix to file path so getFileStatus etc can bypass external attribute provider

Yongjun Zhang created HDFS-12294:
------------------------------------

             Summary: Support /.reserved/bypassExtAttr prefix to file path so getFileStatus etc can bypass external attribute provider
                 Key: HDFS-12294
                 URL: https://issues.apache.org/jira/browse/HDFS-12294
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs
            Reporter: Yongjun Zhang
            Assignee: Yongjun Zhang


This is an alternative solution for HDFS-12202, which proposed introducing a new set of API, with an additional boolean parameter bypassExtAttrProvider, so to let NN bypass external attribute provider when getFileStatus. The goal is to avoid distcp from copying attributes from one cluster's external attribute provider and save to another cluster's fsimage.

The solution here is, instead of having an additional parameter, encode this parameter to the path itself, when calling getFileStatus (and some other calls), NN will parse the path, and figure out that whether external attribute provider need to be bypassed.

Thanks much to [~andrew.wang] for this suggestion. The scope of change is smaller and we don't have to change the FileSystem APIs.






 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org