Preserving permissions during replication
During replication, you can preserve owner or user permissions, group permissions, and HDFS ACLs in source and target clusters.
Set the DistCp command line options using the WITH clause in the REPL LOAD and REPL DUMP commands.
REPL LOAD [***database name***] FROM [***directory name***] WITH distcp.options.puga
Owner or user permissions, group permissions, and ACLs are preserved.