You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jeremy Liu (JIRA)" <ji...@apache.org> on 2019/06/05 20:14:00 UTC

[jira] [Created] (SPARK-27962) Propagate subprocess stdout when subprocess exits with nonzero status in deploy.RRunner

Jeremy Liu created SPARK-27962:
----------------------------------

             Summary: Propagate subprocess stdout when subprocess exits with nonzero status in deploy.RRunner
                 Key: SPARK-27962
                 URL: https://issues.apache.org/jira/browse/SPARK-27962
             Project: Spark
          Issue Type: Improvement
          Components: Deploy, Spark Core
    Affects Versions: 2.4.3
            Reporter: Jeremy Liu


When the R process launched inĀ org.apache.spark.deploy.RRunner terminates with a nonzero status code, only the status code is passed on in the SparkUserAppException.

Although the subprocess' stdout is continually piped to System.out, it would be useful for users without access to the JVM's stdout to also capture the last few lines of the R process and pass it along in the exception message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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