warrenzhu25 commented on code in PR #38231:
URL: https://github.com/apache/spark/pull/38231#discussion_r996207271
##########
core/src/main/scala/org/apache/spark/HeartbeatReceiver.scala:
##########
@@ -65,7 +65,7 @@ private[spark] case class
HeartbeatResponse(reregisterBlockManager: Boolean)
* Lives in the driver to receive heartbeats from executors..
*/
private[spark] class HeartbeatReceiver(sc: SparkContext, clock: Clock)
- extends SparkListener with ThreadSafeRpcEndpoint with Logging {
+ extends SparkListener with ThreadSafeRpcEndpoint with IsolatedRpcEndpoint
with Logging {
Review Comment:
> Do we need both `ThreadSafeRpcEndpoint` or `IsolatedRpcEndpoint`?
In theory, we only needs `IsolatedRpcEndpoint` as the default thread is 1,
but I'm not sure whether there're some logic depending on trait
`ThreadSafeRpcEndpoint`. To keep it safe, I just added new trait
--
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]