Skip to content

Commit

Permalink
new: dev: Added preliminary support for Tez(#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekdas99 authored and Abhishek Das committed Jan 19, 2017
1 parent bf6bdee commit 78d2cc8
Show file tree
Hide file tree
Showing 13 changed files with 1,140 additions and 3 deletions.
5 changes: 5 additions & 0 deletions app-conf/AggregatorConf.xml
Expand Up @@ -33,6 +33,11 @@
<applicationtype>mapreduce</applicationtype>
<classname>com.linkedin.drelephant.mapreduce.MapReduceMetricsAggregator</classname>
</aggregator>
<aggregator>
<applicationtype>tez</applicationtype>
<classname>com.linkedin.drelephant.tez.TezMetricsAggregator</classname>
</aggregator>

<aggregator>
<applicationtype>spark</applicationtype>
<classname>org.apache.spark.SparkMetricsAggregator</classname>
Expand Down
4 changes: 4 additions & 0 deletions app-conf/FetcherConf.xml
Expand Up @@ -56,6 +56,10 @@
</params>
</fetcher>
-->
<fetcher>
<applicationtype>tez</applicationtype>
<classname>com.linkedin.drelephant.tez.TezFetcher</classname>
</fetcher>
<fetcher>
<applicationtype>spark</applicationtype>
<classname>org.apache.spark.deploy.history.SparkFSFetcher</classname>
Expand Down
14 changes: 13 additions & 1 deletion app-conf/HeuristicConf.xml
Expand Up @@ -16,7 +16,19 @@
-->
<!-- Heuristics configurations, each heuristic will be loaded by a particular analyser -->
<heuristics>


<!-- TEZ HEURISTICS -->
<heuristic>
<applicationtype>tez</applicationtype>
<heuristicname>Mapper Spill</heuristicname>
<classname>com.linkedin.drelephant.tez.heuristics.MapperSpillHeuristic</classname>
<viewname>views.html.help.mapreduce.helpMapperSpill</viewname>
<!--<params>
<spill_severity>2.01, 2.2, 2.5, 3</spill_severity>
<num_tasks_severity>50, 100, 500, 1000</num_tasks_severity>
</params>-->
</heuristic>

<!-- MAP-REDUCE HEURISTICS -->

<heuristic>
Expand Down
6 changes: 6 additions & 0 deletions app-conf/JobTypeConf.xml
Expand Up @@ -42,6 +42,12 @@
<applicationtype>mapreduce</applicationtype>
<conf>pig.script</conf>
</jobType>
<jobType>
<name>Hive</name>
<applicationtype>tez</applicationtype>
<conf>hive.mapred.mode</conf>
<isDefault/>
</jobType>
<jobType>
<name>Hive</name>
<applicationtype>mapreduce</applicationtype>
Expand Down

0 comments on commit 78d2cc8

Please sign in to comment.