File tree Expand file tree Collapse file tree 2 files changed +18
-17
lines changed
Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4- LATEST_RELEASE=$( bash " $SCRIPT_DIR /refreshTools.sh" )
5-
6- sudo cp .devcontainer/spark.conf /etc/supervisor/conf.d/
7-
8- cd /tmp/spark
9- bash spark-sdk-dist/repair.sh
10- LATEST_RELEASE=" $LATEST_RELEASE " WORKSPACE_DIR=" $WORKSPACE_DIR " bash /tmp/spark/spark-sdk-dist/install-tools.sh services
11- cd /workspaces/spark-template
12-
13- sudo chown node /var/run/
14- sudo chown -R node /var/log/
15-
16- supervisord
17- supervisorctl reread
18- supervisorctl update
19-
203# Check if SNAPSHOT_SAS_URL was passed, if so run hydrate.sh
214if [ -n " $SNAPSHOT_SAS_URL " ]; then
225 WORKSPACE_DIR=" /workspaces/spark-template"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4+ LATEST_RELEASE=$( bash " $SCRIPT_DIR /refreshTools.sh" )
5+
6+ sudo cp .devcontainer/spark.conf /etc/supervisor/conf.d/
7+
8+ cd /tmp/spark
9+ bash spark-sdk-dist/repair.sh
10+ LATEST_RELEASE=" $LATEST_RELEASE " WORKSPACE_DIR=" $WORKSPACE_DIR " bash /tmp/spark/spark-sdk-dist/install-tools.sh services
11+ cd /workspaces/spark-template
12+
13+ sudo chown node /var/run/
14+ sudo chown -R node /var/log/
15+
16+ supervisord
17+ supervisorctl reread
18+ supervisorctl update
You can’t perform that action at this time.
0 commit comments