Skip to content
Closed
Prev Previous commit
Next Next commit
Minor changes
  • Loading branch information
Sital Kedia committed Jun 13, 2017
commit 1189e409ddec9faf38de2c1b4d0c00e68c162e46
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ class DAGScheduler(
private val disallowStageRetryForTest = sc.getConf.getBoolean("spark.test.noStageRetry", false)

/**
* Number of consecutive stage attempts allowed before a stage is aborted.
* If enabled, fetch failure will cause all the output on that host to be unregistered.
*/
private[scheduler] val unRegisterOutputOnHostOnFetchFailure =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please place correct comment over the value.

sc.getConf.getBoolean("spark.fetch.failure.unRegister.output.on.host", true)
sc.getConf.getBoolean("spark.files.fetchFailure.unRegisterOutputOnHost", true)

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

*
* Number of consecutive stage attempts allowed before a stage is aborted.
*/
private[scheduler] val maxConsecutiveStageAttempts =
sc.getConf.getInt("spark.stage.maxConsecutiveAttempts",
Expand Down