[ 
https://issues.apache.org/jira/browse/SPARK-36584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

胡振宇 updated SPARK-36584:
------------------------
    Description: 
 When driver broadcast object, it will send the 
[SparkListenerBlockUpdated|#L228] event. [ExecutorMonitor#onBlockUpdated 
|#L380]receives and handles the event, in this method, 
 it calls [ensureExecutorIsTracked|#L489]
 to put driver in `executors` variable with `UNKNOWN_RESOURCE_PROFILE_ID`. In 
my understanding, `ExecutorMonitor` should only monitor Executor.  Although 
this will not cause any problems at the moment because 
UNKNOWN_RESOURCE_PROFILE_ID will be filtered out, but I think this is a 
potential risk

  was:
 When driver broadcast object, it will send the 
[SparkListenerBlockUpdated|#L228] event. 
[ExecutorMonitor#onBlockUpdated|#L380]] receives and handles the event, in this 
method, 
 it calls [ensureExecutorIsTracked|#L489]
 to put driver in `executors` variable with `UNKNOWN_RESOURCE_PROFILE_ID`. In 
my understanding, `ExecutorMonitor` should only monitor Executor.  Although 
this will not cause any problems at the moment because 
UNKNOWN_RESOURCE_PROFILE_ID will be filtered out, but I think this is a 
potential risk


> ExecutorMonitor#onBlockUpdated will receive event from driver
> -------------------------------------------------------------
>
>                 Key: SPARK-36584
>                 URL: https://issues.apache.org/jira/browse/SPARK-36584
>             Project: Spark
>          Issue Type: Question
>          Components: Spark Core
>    Affects Versions: 3.1.2
>         Environment: Spark 3.1.2
>            Reporter: 胡振宇
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
>  When driver broadcast object, it will send the 
> [SparkListenerBlockUpdated|#L228] event. [ExecutorMonitor#onBlockUpdated 
> |#L380]receives and handles the event, in this method, 
>  it calls [ensureExecutorIsTracked|#L489]
>  to put driver in `executors` variable with `UNKNOWN_RESOURCE_PROFILE_ID`. In 
> my understanding, `ExecutorMonitor` should only monitor Executor.  Although 
> this will not cause any problems at the moment because 
> UNKNOWN_RESOURCE_PROFILE_ID will be filtered out, but I think this is a 
> potential risk



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to