Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Stansberry, Dale
spark_on_demand
Commits
84f69a1e
Commit
84f69a1e
authored
May 11, 2016
by
Stansberry, Dale
Browse files
- Fixed python path
parent
d9209842
Pipeline
#3121
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
spark_setup.py
View file @
84f69a1e
...
...
@@ -70,7 +70,7 @@ def generateScript():
outf
.
write
(
'source ${MODULESHOME}/init/bash
\n
'
)
outf
.
write
(
'module load python
\n
'
)
outf
.
write
(
'export PYTHONPATH=$SPARK_HOME/python
\n\n
'
)
outf
.
write
(
'export PYTHONPATH=$SPARK_HOME/python
:$PYTHONPATH
\n\n
'
)
outf
.
write
(
'if [ -d "$SPARK_DEPLOY_DIR/nodes" ]; then
\n
'
)
outf
.
write
(
' rm -rf $SPARK_DEPLOY_DIR/nodes/*
\n
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment