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 "Rushabh S Shah (JIRA)" <ji...@apache.org> on 2018/04/17 18:31:00 UTC
[jira] [Created] (HDFS-13467) Validation of Encryption zones path
should be done in Distcp class.
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org