spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Haberman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-4606) SparkSubmitDriverBootstrapper does not propagate EOF to child JVM
Date Wed, 24 Dec 2014 03:10:13 GMT

    [ https://issues.apache.org/jira/browse/SPARK-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257877#comment-14257877
] 

Stephen Haberman commented on SPARK-4606:
-----------------------------------------

Cool, that sounds great; thanks, Marcelo.

> SparkSubmitDriverBootstrapper does not propagate EOF to child JVM
> -----------------------------------------------------------------
>
>                 Key: SPARK-4606
>                 URL: https://issues.apache.org/jira/browse/SPARK-4606
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.1.1, 1.2.0
>            Reporter: Marcelo Vanzin
>            Assignee: Marcelo Vanzin
>             Fix For: 1.3.0, 1.1.2, 1.2.1
>
>
> Run this with "spark.driver.extraJavaOptions" set in your spark-defaults.conf:
> {code}
>   echo "" | spark-shell --master local -Xnojline
> {code}
> You'll end up with a child process that cannot read from stdin (you can CTRL-C out of
it though). That's because when the bootstrapper's stdin reaches EOF, that is not propagated
to the child JVM that's actually doing the reading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message