aboutsummaryrefslogtreecommitdiff
path: root/bin/spark-submit2.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/spark-submit2.cmd')
-rw-r--r--bin/spark-submit2.cmd3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/spark-submit2.cmd b/bin/spark-submit2.cmd
index 08ddb18574..d3fc4a5cc3 100644
--- a/bin/spark-submit2.cmd
+++ b/bin/spark-submit2.cmd
@@ -20,6 +20,9 @@ rem
rem This is the entry point for running Spark submit. To avoid polluting the
rem environment, it just launches a new cmd to do the real work.
+rem disable randomized hash for string in Python 3.3+
+set PYTHONHASHSEED=0
+
set CLASS=org.apache.spark.deploy.SparkSubmit
call %~dp0spark-class2.cmd %CLASS% %*
set SPARK_ERROR_LEVEL=%ERRORLEVEL%