Skip to content

Commit d136e7a

Browse files
Updating Executor GC heuristic recommendation for high executor GC
1 parent 0eb1da5 commit d136e7a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/com/linkedin/drelephant/spark/heuristics/ExecutorGcHeuristic.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ class ExecutorGcHeuristic(private val heuristicConfigurationData: HeuristicConfi
5555

5656
//adding recommendations to the result, severityTimeA corresponds to the ascending severity calculation
5757
if (evaluator.severityTimeA.getValue > Severity.LOW.getValue) {
58-
resultDetails = resultDetails :+ new HeuristicResultDetails("Gc ratio high", "The job is spending too much time on GC. We recommend increasing the executor memory.")
58+
resultDetails = resultDetails :+ new HeuristicResultDetails("Gc ratio high",
59+
"The job is spending too much time on GC. Recommended to increase the executor memory and also can enable ParallelGC using spark.executor.extraJavaOptions or reducing number of UDF calls.")
5960
}
6061
//severityTimeD corresponds to the descending severity calculation
6162
if (evaluator.severityTimeD.getValue > Severity.LOW.getValue) {
62-
resultDetails = resultDetails :+ new HeuristicResultDetails("Gc ratio low", "The job is spending too little time in GC. Please check if you have asked for more executor memory than required.")
63+
resultDetails = resultDetails :+ new HeuristicResultDetails("Gc ratio low",
64+
"The job is spending too little time in GC. Please check if you have asked for more executor memory than required.")
6365
}
6466

6567
val result = new HeuristicResult(

0 commit comments

Comments
 (0)