Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/1845#issuecomment-52713424
**Update.** Looks like pyspark wasn't actually broken. I was testing out
@vanzin's proposal and ran into a python stdout interference message that
turned out to be highly misleading. I have filed this separately here:
[SPARK-3140](https://issues.apache.org/jira/browse/SPARK-3140).
Also, I realize that having the `SparkSubmitDriverBootstrapper` output a
list of arguments back to Bash won't actually work, because Bash will need to
split the output, which may contain whitespace in quotes (among other things to
escape), so we're back to the original problem of splitting the command string.
It may be possible to do some escaping in Scala and then unescaping in Bash,
but it gets a little complicated as we go down that road.
The open issue now is getting pyspark to kill the
`SparkSubmitDriverBootStrapper's` subprocess to exit with the parent JVM.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]