sujith71955 commented on a change in pull request #24036: [SPARK-27036][SPARK-SQL] Cancel the running jobs in the background if broadcast future timeout error occurs URL: https://github.com/apache/spark/pull/24036#discussion_r266249842
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/BroadcastExchangeExec.scala ########## @@ -147,6 +149,15 @@ case class BroadcastExchangeExec( } catch { case ex: TimeoutException => logError(s"Could not execute broadcast in ${timeout.toSeconds} secs.", ex) + val executionUIData = sqlContext.sparkSession.sharedState.statusStore. Review comment: I cannot find an alternative to get Jobs based on the execution id in this layer of execution, seems to be this way shall be reliable as whenever we are submitting /processing events via dagscheduler, we are always posting the events to SQLAppStatusListener, this will make our job viable to retrieve the jobs from LiveExecutionData. Please let me know if we have any better way to get this job done. Thanks . ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org