Skip to content

Commit 08c355f

Browse files
ShubhamGupta29ShubhamGupta29
authored andcommitted
Correcting the Recommendation message for high executor GC
1 parent afd36d6 commit 08c355f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ object ExecutorGcHeuristic {
104104
throw new Exception("No executor information available.")
105105
}
106106

107-
val isParallelGcEnabled: Boolean = appConfigurationProperties.getOrElse("spark.executor.extraJavaOptions","").contains("XX:+UseParallelGC")
108-
val parallelGcRecommendation: String = if (isParallelGcEnabled) "" else "Enable ParallelGc using spark.executor.extraJavaOptions."
107+
val isParallelGCEnabled: Boolean = appConfigurationProperties.getOrElse("spark.executor.extraJavaOptions","").contains("XX:+UseParallelGC")
108+
val parallelGcRecommendation: String = if (isParallelGCEnabled) "" else "Enable ParallelGC using spark.executor.extraJavaOptions."
109109

110110
lazy val appConfigurationProperties: Map[String, String] =
111111
data.appConfigurationProperties

0 commit comments

Comments
 (0)