Github user gaborgsomogyi commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20474#discussion_r165411432
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -2168,7 +2168,17 @@ private[spark] object Utils extends Logging {
         // We need to filter out null values here because dumpAllThreads() may 
return null array
         // elements for threads that are dead / don't exist.
         val threadInfos = 
ManagementFactory.getThreadMXBean.dumpAllThreads(true, true).filter(_ != null)
    -    threadInfos.sortBy(_.getThreadId).map(threadInfoToThreadStackTrace)
    --- End diff --
    
    Keeping old behaviour is a good idea this case.


---

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

Reply via email to