diff options
author | Cheng Lian <lian@databricks.com> | 2015-02-28 08:41:49 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2015-02-28 08:41:49 +0800 |
commit | 8c468a6600e0deb5464990df60148212e64fdecd (patch) | |
tree | c36b55bfc06116993a41675776b3eb495a5acb69 /python/pyspark/sql/context.py | |
parent | 5f7f3b938e1776168be866fc9ee87dc7494696cc (diff) | |
download | spark-8c468a6600e0deb5464990df60148212e64fdecd.tar.gz spark-8c468a6600e0deb5464990df60148212e64fdecd.tar.bz2 spark-8c468a6600e0deb5464990df60148212e64fdecd.zip |
[SPARK-5751] [SQL] Sets SPARK_HOME as SPARK_PID_DIR when running Thrift server test suites
This is a follow-up of #4720. By default, `spark-daemon.sh` writes PID files under `/tmp`, which makes it impossible to start multiple server instances simultaneously. This PR sets `SPARK_PID_DIR` to Spark home directory to workaround this problem.
Many thanks to chenghao-intel for pointing out this issue!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/4758)
<!-- Reviewable:end -->
Author: Cheng Lian <lian@databricks.com>
Closes #4758 from liancheng/thriftserver-pid-dir and squashes the following commits:
252fa0f [Cheng Lian] Uses temporary directory as Thrift server PID directory
1b3d1e3 [Cheng Lian] Sets SPARK_HOME as SPARK_PID_DIR when running Thrift server test suites
Diffstat (limited to 'python/pyspark/sql/context.py')
0 files changed, 0 insertions, 0 deletions