Github user vanzin commented on a diff in the pull request:
    --- Diff: 
core/src/main/scala/org/apache/spark/status/api/v1/ApiRootResource.scala ---
    @@ -83,6 +83,8 @@ private[spark] trait UIRoot {
       def getApplicationInfoList: Iterator[ApplicationInfo]
       def getApplicationInfo(appId: String): Option[ApplicationInfo]
    +  def executorThreadDumpsNotAvailableError(): Option[Response] = None
    --- End diff --
    In fact, now that you pointed out the method to get the thread dump is in 
`SparkContext`, maybe you don't even need this at all. In the existing resource 
code, you can just return the error if `` is not defined (e.g. "Thread 
dumps are only available in live applications.")


To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to