Skip to content

Commit

Permalink
Revert "Peak JVM used memory heuristic - (Depends on Custom SHS - Req…
Browse files Browse the repository at this point in the history
…uires peakJvmUsedMemory metric) (linkedin#283)" (linkedin#317)

This reverts commit 6b2f7e8.
  • Loading branch information
akshayrai authored Jan 10, 2018
1 parent 6b2f7e8 commit 5500aad
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 276 deletions.
2 changes: 1 addition & 1 deletion app-conf/FetcherConf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
-->
<fetcher>
<applicationtype>spark</applicationtype>
<classname>com.linkedin.drelephant.spark.fetchers.SparkFetcher</classname>
<classname>com.linkedin.drelephant.spark.fetchers.FSFetcher</classname>
</fetcher>

<!--
Expand Down
6 changes: 0 additions & 6 deletions app-conf/HeuristicConf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,6 @@
<classname>com.linkedin.drelephant.spark.heuristics.StagesHeuristic</classname>
<viewname>views.html.help.spark.helpStagesHeuristic</viewname>
</heuristic>
<heuristic>
<applicationtype>spark</applicationtype>
<heuristicname>JVM Used Memory</heuristicname>
<classname>com.linkedin.drelephant.spark.heuristics.JvmUsedMemoryHeuristic</classname>
<viewname>views.html.help.spark.helpJvmUsedMemoryHeuristic</viewname>
</heuristic>
<heuristic>
<applicationtype>spark</applicationtype>
<heuristicname>Executor GC</heuristicname>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ trait ExecutorSummary{
def totalShuffleWrite: Long
def maxMemory: Long
def totalGCTime: Long
def executorLogs: Map[String, String]
def peakJvmUsedMemory: Map[String, Long]
}
def executorLogs: Map[String, String]}

trait JobData{
def jobId: Int
Expand Down Expand Up @@ -295,8 +293,7 @@ class ExecutorSummaryImpl(
var totalShuffleWrite: Long,
var maxMemory: Long,
var totalGCTime: Long,
var executorLogs: Map[String, String],
var peakJvmUsedMemory: Map[String, Long]) extends ExecutorSummary
var executorLogs: Map[String, String]) extends ExecutorSummary

class JobDataImpl(
var jobId: Int,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ object LegacyDataConverters {
executorInfo.shuffleWrite,
executorInfo.maxMem,
executorInfo.totalGCTime,
executorLogs = Map.empty,
peakJvmUsedMemory = Map.empty
executorLogs = Map.empty
)
}

Expand Down
20 changes: 0 additions & 20 deletions app/views/help/spark/helpJvmUsedMemoryHeuristic.scala.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ object SparkMetricsAggregatorTest {
totalShuffleWrite = 0,
maxMemory = 0,
totalGCTime = 0,
executorLogs = Map.empty,
peakJvmUsedMemory = Map.empty
executorLogs = Map.empty
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ object ExecutorGcHeuristicTest {
totalShuffleWrite= 0,
maxMemory= 0,
totalGCTime,
executorLogs = Map.empty,
peakJvmUsedMemory = Map.empty
executorLogs = Map.empty
)

def newFakeSparkApplicationData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ object ExecutorsHeuristicTest {
totalShuffleWrite,
maxMemory,
totalGCTime = 0,
executorLogs = Map.empty,
peakJvmUsedMemory = Map.empty
executorLogs = Map.empty
)

def newFakeSparkApplicationData(executorSummaries: Seq[ExecutorSummaryImpl]): SparkApplicationData = {
Expand Down

This file was deleted.

0 comments on commit 5500aad

Please sign in to comment.