Skip to content

Commit

Permalink
Removing parasite spark env. setting from sharedcomponent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalin Sheytanov committed Mar 29, 2018
1 parent f185b05 commit 5d033ed
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config/kavedefaults/sharedcomponents.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,17 +323,6 @@ def script(self):
export PYTHONPATH=$KAVETOOLBOX"/python:"${PYTHONPATH}
fi
#Add spark if spark is installed
if type pyspark >/dev/null 2>/dev/null; then
export SPARK_HOME=`readlink -f \`which pyspark\``
export SPARK_HOME=`dirname \`dirname $SPARK_HOME\``
if [[ ":$PYTHONPATH:" == *":$SPARK_HOME/python:"* ]]; then
true
else
export PYTHONPATH=${SPARK_HOME}"/python:"${PYTHONPATH}
fi
fi
"""
toolbox.tests = [('source $KAVETOOLBOX/scripts/KaveEnv.sh > /dev/null', 0, '', ''),
("python -c \"import correlograms; import geomaps; import stattools; import rootnotes;\" > /dev/null",
Expand Down

0 comments on commit 5d033ed

Please sign in to comment.