Skip to content

Commit

Permalink
[SPARK-10311] [STREAMING] Reload appId and attemptId when app starts …
Browse files Browse the repository at this point in the history
…with checkpoint file in cluster mode

Author: xutingjun <xutingjun@huawei.com>

Closes #8477 from XuTingjun/streaming-attempt.
  • Loading branch information
XuTingjun authored and tdas committed Sep 4, 2015
1 parent 2e1c175 commit eafe372
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit eafe372

Please sign in to comment.