Skip to content

Commit

Permalink
Stop Spark gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
tovbinm committed Feb 20, 2019
1 parent 14f697d commit 3ed77ea
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,8 @@ object OpTitanicSimple {
val (scores, metrics) = model.scoreAndEvaluate(evaluator = evaluator)

println("Metrics:\n" + metrics)

// Stop Spark gracefully
spark.stop()
}
}

0 comments on commit 3ed77ea

Please sign in to comment.