Skip to content

Commit

Permalink
JDK11 pyspark test
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun committed Nov 16, 2019
1 parent 1844015 commit f01b384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def run_individual_python_test(target_dir, test_name, pyspark_python):

# Also override the JVM's temp directory by setting driver and executor options.
spark_args = [
"--conf", "spark.driver.extraJavaOptions=-Djava.io.tmpdir={0}".format(tmp_dir),
"--conf", "spark.executor.extraJavaOptions=-Djava.io.tmpdir={0}".format(tmp_dir),
"--conf", "spark.driver.extraJavaOptions='-Djava.io.tmpdir={0} -Dio.netty.tryReflectionSetAccessible=true'".format(tmp_dir),
"--conf", "spark.executor.extraJavaOptions='-Djava.io.tmpdir={0} -Dio.netty.tryReflectionSetAccessible=true'".format(tmp_dir),
"pyspark-shell"
]
env["PYSPARK_SUBMIT_ARGS"] = " ".join(spark_args)
Expand Down

0 comments on commit f01b384

Please sign in to comment.