As per distcp documentation -> If -pa is specified, DistCp preserves the permissions also because ACLs are a super-set of permissions.
but hadoop distcp -pa -delete -update /src/path /dest/path/ is failing with ACLs not supported on at least one file system. Complete logs below
The above command executed is failing. Expectation is to copy hdfs file from source to destination with ACL .
org.apache.hadoop.tools.CopyListing$AclsNotSupportedException: ACLs not supported for file system: hdfs://10.20.0.7:8020 at org.apache.hadoop.tools.util.DistCpUtils.checkFileSystemAclSupport(DistCpUtils.java:381) at org.apache.hadoop.tools.DistCp.configureOutputFormat(DistCp.java:353) at org.apache.hadoop.tools.DistCp.createJob(DistCp.java:247) at org.apache.hadoop.tools.DistCp.createAndSubmitJob(DistCp.java:176) at org.apache.hadoop.tools.DistCp.execute(DistCp.java:155) at org.apache.hadoop.tools.DistCp.run(DistCp.java:128) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.hadoop.tools.DistCp.main(DistCp.java:462)