Skip to content
Snippets Groups Projects
Commit 27dad6f6 authored by Reynold Xin's avatar Reynold Xin Committed by Andrew Or
Browse files

[SPARK-14364][SPARK] HeartbeatReceiver object should be private

## What changes were proposed in this pull request?
It's a mistake that HeartbeatReceiver object was made public in Spark 1.x.

## How was this patch tested?
N/A

Author: Reynold Xin <rxin@databricks.com>

Closes #12148 from rxin/SPARK-14364.
parent 5743c647
No related branches found
No related tags found
No related merge requests found
...@@ -220,6 +220,7 @@ private[spark] class HeartbeatReceiver(sc: SparkContext, clock: Clock) ...@@ -220,6 +220,7 @@ private[spark] class HeartbeatReceiver(sc: SparkContext, clock: Clock)
} }
} }
object HeartbeatReceiver {
private[spark] object HeartbeatReceiver {
val ENDPOINT_NAME = "HeartbeatReceiver" val ENDPOINT_NAME = "HeartbeatReceiver"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment