Rushabh S Shah created HDFS-13467:
-------------------------------------

             Summary: Validation of Encryption zones path should be done in 
Distcp class.
                 Key: HDFS-13467
                 URL: https://issues.apache.org/jira/browse/HDFS-13467
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Rushabh S Shah
            Assignee: Rushabh S Shah


Currently validation of EZ paths are done in {{SimpleCopyListing}} class.
Distcp allows anyone to override {{CopyListing}} class and have their own 
version of CopyListing class but setting 
{{DistCpConstants.CONF_LABEL_PRESERVE_RAWXATTRS}} conf is done in 
{{SimpleCopyListing#validatePaths}} method.
If someone is overriding {{CopyListing}} class then they also need to include 
all this validation in their over-rid class.
Ideally validation of EZ path and setting of {{preserveRawXAttrs}} conf should 
be done at Distcp class level and not at CopyListing level.
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to