[SPARK-10311] [STREAMING] Reload appId and attemptId when app starts with checkpoint file in cluster mode
Author: xutingjun <xutingjun@huawei.com> Closes #8477 from XuTingjun/streaming-attempt.
This commit is contained in:
parent
2e1c17553d
commit
eafe37236c
|
@ -49,6 +49,8 @@ class Checkpoint(@transient ssc: StreamingContext, val checkpointTime: Time)
|
|||
// Reload properties for the checkpoint application since user wants to set a reload property
|
||||
// or spark had changed its value and user wants to set it back.
|
||||
val propertiesToReload = List(
|
||||
"spark.yarn.app.id",
|
||||
"spark.yarn.app.attemptId",
|
||||
"spark.driver.host",
|
||||
"spark.driver.port",
|
||||
"spark.master",
|
||||
|
|
Loading…
Reference in a new issue