You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/10/01 17:18:34 UTC

[GitHub] [spark] attilapiros commented on pull request #33936: [SPARK-36693][REPL] Implement spark-shell idle timeouts

attilapiros commented on pull request #33936:
URL: https://github.com/apache/spark/pull/33936#issuecomment-932415908


   I was testing this PR and there is problem. When the shell is just started and no expressions are evaluated but only empty lines are entered the inactivity timer are not stopped:
   
   ```
   $ ./bin/spark-shell --conf "spark.repl.inactivityTimeout=3s"                                                                                                                                                       [INSERT]
   Setting default log level to "WARN".
   To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
   21/10/01 19:15:21 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
   Spark context Web UI available at http://192.168.0.17:4040
   Spark context available as 'sc' (master = local[*], app id = local-1633108523276).
   Spark session available as 'spark'.
   Welcome to
         ____              __
        / __/__  ___ _____/ /__
       _\ \/ _ \/ _ `/ __/  '_/
      /___/ .__/\_,_/_/ /_/\_\   version 3.3.0-SNAPSHOT
         /_/
   
   Using Scala version 2.12.14 (OpenJDK 64-Bit Server VM, Java 1.8.0_282)
   Type in expressions to have them evaluated.
   Type :help for more information.
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala>
   
   scala> 21/10/01 19:15:28 ERROR InactivityTimeout: Inactivity timeout of 3000 ms reached - closing shell
    
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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