diff --git a/roles/deployment/cluster/templates/upgrade_scripts/fs2cs.j2 b/roles/deployment/cluster/templates/upgrade_scripts/fs2cs.j2 index 5f692423..db5a1ed7 100644 --- a/roles/deployment/cluster/templates/upgrade_scripts/fs2cs.j2 +++ b/roles/deployment/cluster/templates/upgrade_scripts/fs2cs.j2 @@ -48,6 +48,6 @@ mkdir fs2cs cp ${FAIR_SCHEDULER} fs2cs/fair-scheduler.xml cp ${CORE_SITE} fs2cs/core-site.xml -/opt/cloudera/parcels/CDH-{{ new_parcel_version }}/bin/yarn fs2cs ${RESOURCE_OPTS} --no-terminal-rule-check --yarnsiteconfig ${YARN_SITE} --fsconfig fs2cs/fair-scheduler.xml --output-directory {{ fs2cs_temp_dir }} +/opt/cloudera/parcels/CDH-{{ new_parcel_version }}/bin/yarn fs2cs ${RESOURCE_OPTS} --no-terminal-rule-check --yarnsiteconfig ${YARN_SITE} --fsconfig $(realpath fs2cs/fair-scheduler.xml) --output-directory {{ fs2cs_temp_dir }} exit $? \ No newline at end of file