forked from linkedin/dr-elephant
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request linkedin#402 from pralabhkumar/ipso_changes"
- Loading branch information
1 parent
c19425b
commit 89919f7
Showing
22 changed files
with
61 additions
and
1,433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 2 additions & 69 deletions
71
app/com/linkedin/drelephant/mapreduce/heuristics/CommonConstantsHeuristic.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,7 @@ | ||
/* | ||
* Copyright 2016 LinkedIn Corp. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy of | ||
* the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
|
||
package com.linkedin.drelephant.mapreduce.heuristics; | ||
|
||
public class CommonConstantsHeuristic { | ||
|
||
public static final String MAPPER_SPEED = "Mapper Speed"; | ||
public static final String TOTAL_INPUT_SIZE_IN_MB = "Total input size in MB"; | ||
|
||
public enum UtilizedParameterKeys { | ||
AVG_PHYSICAL_MEMORY("Avg Physical Memory (MB)"), | ||
MAX_PHYSICAL_MEMORY("Max Physical Memory (MB)"), | ||
MIN_PHYSICAL_MEMORY("Min Physical Memory (MB)"), | ||
AVG_VIRTUAL_MEMORY("Avg Virtual Memory (MB)"), | ||
MAX_VIRTUAL_MEMORY("Max Virtual Memory (MB)"), | ||
MIN_VIRTUAL_MEMORY("Min Virtual Memory (MB)"), | ||
AVG_TOTAL_COMMITTED_HEAP_USAGE_MEMORY("Avg Total Committed Heap Usage Memory (MB)"), | ||
MAX_TOTAL_COMMITTED_HEAP_USAGE_MEMORY("Max Total Committed Heap Usage Memory (MB)"), | ||
MIN_TOTAL_COMMITTED_HEAP_USAGE_MEMORY("Min Total Committed Heap Usage Memory (MB)"); | ||
private String value; | ||
|
||
UtilizedParameterKeys(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
} | ||
|
||
public enum ParameterKeys { | ||
MAPPER_MEMORY_HADOOP_CONF("mapreduce.map.memory.mb"), | ||
MAPPER_HEAP_HADOOP_CONF("mapreduce.map.java.opts"), | ||
SORT_BUFFER_HADOOP_CONF("mapreduce.task.io.sort.mb"), | ||
SORT_FACTOR_HADOOP_CONF("mapreduce.task.io.sort.factor"), | ||
SORT_SPILL_HADOOP_CONF("mapreduce.map.sort.spill.percent"), | ||
REDUCER_MEMORY_HADOOP_CONF("mapreduce.reduce.memory.mb"), | ||
REDUCER_HEAP_HADOOP_CONF("mapreduce.reduce.java.opts"), | ||
SPLIT_SIZE_HADOOP_CONF("mapreduce.input.fileinputformat.split.maxsize"), | ||
CHILD_HEAP_SIZE_HADOOP_CONF("mapred.child.java.opts"), | ||
PIG_SPLIT_SIZE_HADOOP_CONF("pig.maxCombinedSplitSize"), | ||
MAPPER_MEMORY_HEURISTICS_CONF("Mapper Memory"), | ||
MAPPER_HEAP_HEURISTICS_CONF("Mapper Heap"), | ||
REDUCER_MEMORY_HEURISTICS_CONF("Reducer Memory"), | ||
REDUCER_HEAP_HEURISTICS_CONF("Reducer heap"), | ||
SORT_BUFFER_HEURISTICS_CONF("Sort Buffer"), | ||
SORT_FACTOR_HEURISTICS_CONF("Sort Factor"), | ||
SORT_SPILL_HEURISTICS_CONF("Sort Spill"), | ||
SPLIT_SIZE_HEURISTICS_CONF("Split Size"), | ||
PIG_MAX_SPLIT_SIZE_HEURISTICS_CONF("Pig Max Split Size"); | ||
private String value; | ||
ParameterKeys(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
} | ||
public static final String MAPPER_SPEED="Mapper Speed"; | ||
public static final String TOTAL_INPUT_SIZE_IN_MB="Total input size in MB"; | ||
} |
86 changes: 0 additions & 86 deletions
86
app/com/linkedin/drelephant/mapreduce/heuristics/ConfigurationHeuristic.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.