Skip to content

Commit

Permalink
Fix setRetries call from Jobclient.Builder to Job.Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
WenboZhao committed Apr 18, 2017
1 parent 3d40366 commit 56fcd89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ class CoarseCookSchedulerBackend(
.setStatusUpdateInterval(10)
.setBatchRequestSize(24)
.setKerberosAuth()
.setRetries(1)
.build()

private[this] val jobListener = new CJobListener {
Expand Down Expand Up @@ -279,6 +278,7 @@ class CoarseCookSchedulerBackend(
.setMemory(executorMemory(sc).toDouble)
.setCpus(numCores)
.setPriority(priority)
.setRetries(1)

val container = conf.get("spark.executor.cook.container", null)
if(container != null) {
Expand Down

0 comments on commit 56fcd89

Please sign in to comment.