spark-instrumented-optimizer/sql/hive-thriftserver
Cheng Lian 8c468a6600 [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
2015-02-28 08:41:49 +08:00
..
src [SPARK-5751] [SQL] Sets SPARK_HOME as SPARK_PID_DIR when running Thrift server test suites 2015-02-28 08:41:49 +08:00
v0.12.0/src/main/scala/org/apache/spark/sql/hive/thriftserver [SPARK-5846] Correctly set job description and pool for SQL jobs 2015-02-19 09:49:34 +08:00
v0.13.1/src/main/scala/org/apache/spark/sql/hive/thriftserver [SPARK-5846] Correctly set job description and pool for SQL jobs 2015-02-19 09:49:34 +08:00
pom.xml [SPARK-4925][SQL] Publish Spark SQL hive-thriftserver maven artifact 2015-01-10 13:19:12 -08:00