dongjoon-hyun commented on PR #52955:
URL: https://github.com/apache/spark/pull/52955#issuecomment-3623172199

   To @mridulm ,
   1. For that investigation purpose (debugging), we are able to use `log4j` 
setting to get `ShutdownHookManager` log back.
   2. This is not a single line. For example, I saw many lines based on the 
setting. AFAIK, the minimum is 3 lines.
   
   ```
   $ bin/spark-shell -c spark.log.level=INFO
   ...
   Spark context Web UI available at http://localhost:4040
   Spark context available as 'sc' (master = local[*], app id = 
local-1765138223376).
   Spark session available as 'spark'.
   Welcome to
         ____              __
        / __/__  ___ _____/ /__
       _\ \/ _ \/ _ `/ __/  '_/
      /___/ .__/\_,_/_/ /_/\_\   version 3.5.7
         /_/
   
   Using Scala version 2.12.18 (OpenJDK 64-Bit Server VM, Java 21.0.9)
   Type in expressions to have them evaluated.
   Type :help for more information.
   
   scala> :quit
   ...
   25/12/07 12:10:25 INFO ShutdownHookManager: Shutdown hook called
   25/12/07 12:10:25 INFO ShutdownHookManager: Deleting directory 
/private/var/folders/ns/ybf9249d1cz3jnh2zjzg9lc80000gn/T/spark-7423dc2b-cb49-4fd6-a589-6aa2e5c5313b
   25/12/07 12:10:25 INFO ShutdownHookManager: Deleting directory 
/private/var/folders/ns/ybf9249d1cz3jnh2zjzg9lc80000gn/T/spark-7423dc2b-cb49-4fd6-a589-6aa2e5c5313b/repl-aa3a4e9f-f0eb-4d59-a386-639afb75d3fe
   25/12/07 12:10:25 INFO ShutdownHookManager: Deleting directory 
/private/var/folders/ns/ybf9249d1cz3jnh2zjzg9lc80000gn/T/spark-bb9ba46c-6dd6-43d2-b8b5-4765ea732159
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to