Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In hdfs-mirroring-workflow.xml target EP is added only for target dir.
<arg>-sourcePaths</arg> <arg>${sourceDir}</arg> <arg>-targetPath</arg> <arg>${targetClusterFS}${targetDir}</arg>
in the req, if sourceDir is not sent as fully qualified paths then extension should generate fully qualified paths before submitting the process. For targetDir if passed it should be removed.
e.g.
sourceDir=/user/ambari-qaqa/dr/test/primaryCluster/input1, /user/ambari-qaqa/dr/test/primaryCluster/input2 After processing: sourceDir=hdfs://240.0.0.10:8020/user/ambari-qaqa/dr/test/primaryCluster/input1, hdfs://240.0.0.10:8020/user/ambari-qaqa/dr/test/primaryCluster/input2
Also, if user has already specified the fully qualified path then it should not be added for sourceDir but it should be removed for targetDir
sourceDir=hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input1, hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input2 After processing: sourceDir=hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input1, hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input2 ================================================================ targetDir=hdfs://240.0.0.11:8020/user/ambari-qa/dr/test/backupCluster/outputs After processing: targetDir=/user/ambari-qa/dr/test/backupCluster/outputs
Attachments
Issue Links
- links to