The HDFS mirroring scripts allow replication between two clusters.
Currently, even though the UI allows the replication in any direction between clusters independent of which cluster the Falcon and Oozie servers belong to this is not observed and the source cluster is always the cluster with Oozie/Falcon server.
Steps to reproduce:
1) Define both clusters in Falcon server on cluster 2
2) Set up HDFS mirroring in Falcon server on cluster 2 from Cluster 1 to Cluster 2 and set to run on Oozie server of Cluster 2
Falcon will replicate data from Cluster 2 to Cluster 2
In hdfs-replication-workflow.xml, the source dir should be defined like the target dir by including clusterfs: