Skip to content

Commit 4f3516f

Browse files
Merge pull request #15 from umich-arc/hotfix/fixCopyCommand
Fix broken cp command.
2 parents 2a2dd42 + 2662dac commit 4f3516f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spark-start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ EOF
253253

254254
# Broadcast the worker script to all slurm nodes.
255255
chmod +x ${SPARK_CONF_DIR}/sparkworker.sh
256-
srun cp ${SPARK_CONF_DIR}/sparkworker.sh "${SCRATCH}/sparkworker.sh" \
256+
srun /usr/bin/cp ${SPARK_CONF_DIR}/sparkworker.sh "${SCRATCH}/sparkworker.sh" \
257257
|| fail "Could not broadcast worker start script to nodes"
258258
rm -f ${SPARK_CONF_DIR}/sparkworker.sh
259259

0 commit comments

Comments
 (0)