Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.