Allow easy testing of a Pull Request and cleanup some things along the way. * Adds the ability to checkout a Pull Request by adding this git config option: remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'" * Adds default (but overridable) behavior to run_cmd so that it exits the program with an error if the cmd doesn't return error code 0. * Fixes a bug that was checking if the wrong path exists to determine if we should try to shutdown an already running spark cluster.
Allow easy testing of a Pull Request and cleanup some things along the way.
* Adds the ability to checkout a Pull Request by adding this git config option: remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'"
* Adds default (but overridable) behavior to run_cmd so that it exits the program with an error if the cmd doesn't return error code 0.
* Fixes a bug that was checking if the wrong path exists to determine if we should try to shutdown an already running spark cluster.

mengxr/spark-perf,databricks/spark-perf,Altiscale/spark-perf,arijitt/spark-perf,arijitt/spark-perf,nchammas/spark-perf,XiaoqingWang/spark-perf,feynmanliang/spark-perf,XiaoqingWang/spark-perf,zsxwing/spark-perf,nchammas/spark-perf,zsxwing/spark-perf,Altiscale/spark-perf,databricks/spark-perf,jkbradley/spark-perf,mengxr/spark-perf,feynmanliang/spark-perf,jkbradley/spark-perf