spark-instrumented-optimizer/bin
Andrew Or dafe343499 [HOTFIX] Wait for EOF only for the PySpark shell
In `SparkSubmitDriverBootstrapper`, we wait for the parent process to send us an `EOF` before finishing the application. This is applicable for the PySpark shell because we terminate the application the same way. However if we run a python application, for instance, the JVM actually never exits unless it receives a manual EOF from the user. This is causing a few tests to timeout.

We only need to do this for the PySpark shell because Spark submit runs as a python subprocess only in this case. Thus, the normal Spark shell doesn't need to go through this case even though it is also a REPL.

Thanks davies for reporting this.

Author: Andrew Or <andrewor14@gmail.com>

Closes #2170 from andrewor14/bootstrap-hotfix and squashes the following commits:

42963f5 [Andrew Or] Do not wait for EOF unless this is the pyspark shell
2014-08-27 23:03:46 -07:00
..
beeline [SPARK-2678][Core][SQL] A workaround for SPARK-2678 2014-08-06 12:28:35 -07:00
compute-classpath.cmd [SPARK-3167] Handle special driver configs in Windows 2014-08-26 22:52:16 -07:00
compute-classpath.sh [SPARK-2410][SQL] Merging Hive Thrift/JDBC server (with Maven profile fix) 2014-07-28 12:07:30 -07:00
load-spark-env.sh [SPARK-3225]Typo in script 2014-08-26 17:30:59 -07:00
pyspark [HOTFIX] Wait for EOF only for the PySpark shell 2014-08-27 23:03:46 -07:00
pyspark.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
pyspark2.cmd [SPARK-2305] [PySpark] Update Py4J to version 0.8.2.1 2014-07-29 19:02:06 -07:00
run-example [SPARK-1981] Add AWS Kinesis streaming support 2014-08-02 13:35:35 -07:00
run-example.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
run-example2.cmd [SPARK-1981] Add AWS Kinesis streaming support 2014-08-02 13:35:35 -07:00
spark-class [SPARK-3068]remove MaxPermSize option for jvm 1.8 2014-08-23 08:09:30 -07:00
spark-class.cmd sbin/spark-class* -> bin/spark-class* 2014-01-03 15:08:01 +05:30
spark-class2.cmd [SPARK-3167] Handle special driver configs in Windows 2014-08-26 22:52:16 -07:00
spark-shell [SPARK-3192] Some scripts have 2 space indentation but other scripts have 4 space indentation. 2014-08-24 09:43:44 -07:00
spark-shell.cmd [SPARK-3006] Failed to execute spark-shell in Windows OS 2014-08-13 22:17:07 -07:00
spark-sql [SPARK-2964] [SQL] Remove duplicated code from spark-sql and start-thriftserver.sh 2014-08-26 17:33:40 -07:00
spark-submit [SPARK-3167] Handle special driver configs in Windows 2014-08-26 22:52:16 -07:00
spark-submit.cmd [SPARK-3167] Handle special driver configs in Windows 2014-08-26 22:52:16 -07:00
utils.sh [SPARK-2849] Handle driver configs separately in client mode 2014-08-20 15:01:47 -07:00