Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4606

SparkSubmitDriverBootstrapper does not propagate EOF to child JVM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1, 1.2.0
    • 1.1.2, 1.2.1, 1.3.0
    • Spark Core
    • None

    Description

      Run this with "spark.driver.extraJavaOptions" set in your spark-defaults.conf:

        echo "" | spark-shell --master local -Xnojline
      

      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.

      Attachments

        Activity

          People

            vanzin Marcelo Masiero Vanzin
            vanzin Marcelo Masiero Vanzin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: