Skip to content

Commit 6278053

Browse files
authored
Resolve full path of configuration for the fair-scheduler generation script (#119)
Signed-off-by: Anis FATHALLAH <anis@fathallah.fr>
1 parent a9208a4 commit 6278053

File tree

1 file changed

+1
-1
lines changed
  • roles/deployment/cluster/templates/upgrade_scripts

1 file changed

+1
-1
lines changed

roles/deployment/cluster/templates/upgrade_scripts/fs2cs.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ mkdir fs2cs
4848
cp ${FAIR_SCHEDULER} fs2cs/fair-scheduler.xml
4949
cp ${CORE_SITE} fs2cs/core-site.xml
5050

51-
/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 }}
51+
/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 }}
5252

5353
exit $?

0 commit comments

Comments
 (0)