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

Making sure REPL prints Spark UI info and then Welcome message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • Spark Shell
    • None

    Description

      After SPARK-24418 the welcome message will be printed first, and then scala prompt will be shown before the Spark UI info is printed as the following.

       apache-spark git:(scala-2.11.12) ✗ ./bin/spark-shell 
      Setting default log level to "WARN".
      To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
      Welcome to
            ____              __
           / __/__  ___ _____/ /__
          _\ \/ _ \/ _ `/ __/  '_/
         /___/ .__/\_,_/_/ /_/\_\   version 2.4.0-SNAPSHOT
            /_/
               
      Using Scala version 2.11.12 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_161)
      Type in expressions to have them evaluated.
      Type :help for more information.
      
      scala> Spark context Web UI available at http://192.168.1.169:4040
      Spark context available as 'sc' (master = local[*], app id = local-1528180279528).
      Spark session available as 'spark'.
      
      
      scala> 
      

      Although it's a minor issue, but visually, it doesn't look nice as the existing behavior.

      Attachments

        Issue Links

          Activity

            People

              dbtsai DB Tsai
              dbtsai DB Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: