Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

临时测试 #690

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions app-conf/AggregatorConf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
</aggregator>
-->
<aggregators>
<aggregator>
<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>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>com.linkedin.drelephant.spark.SparkMetricsAggregator</classname>
<params>
<allocated_memory_waste_buffer_percentage>0.5</allocated_memory_waste_buffer_percentage>
</params>
</aggregator>
<aggregator>
<applicationtype>tony</applicationtype>
<classname>com.linkedin.drelephant.tony.TonyMetricsAggregator</classname>
</aggregator>
<!--<aggregator>-->
<!--<applicationtype>tony</applicationtype>-->
<!--<classname>com.linkedin.drelephant.tony.TonyMetricsAggregator</classname>-->
<!--</aggregator>-->
</aggregators>
25 changes: 13 additions & 12 deletions app-conf/FetcherConf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
<!--
REST based fetcher for Tez jobs which pulls job metrics and data from Timeline Server API
-->
<fetcher>
<applicationtype>tez</applicationtype>
<classname>com.linkedin.drelephant.tez.fetchers.TezFetcher</classname>
</fetcher>
<!--<fetcher>-->
<!--<applicationtype>tez</applicationtype>-->
<!--<classname>com.linkedin.drelephant.tez.fetchers.TezFetcher</classname>-->
<!--</fetcher>-->
<!--
<fetcher>
<applicationtype>mapreduce</applicationtype>
Expand All @@ -59,15 +59,16 @@
If not set, the local timezone will be used.
-->

<fetcher>
<!--临时-->
<!--<fetcher>
<applicationtype>mapreduce</applicationtype>
<classname>com.linkedin.drelephant.mapreduce.fetchers.MapReduceFSFetcherHadoop2</classname>
<params>
<sampling_enabled>false</sampling_enabled>
<history_log_size_limit_in_mb>500</history_log_size_limit_in_mb>
<history_server_time_zone>PST</history_server_time_zone>
</params>
</fetcher>
</fetcher>-->


<!--
Expand All @@ -86,10 +87,10 @@
<event_log_location_uri>webhdfs://localhost:50070/system/spark-history</event_log_location_uri>
</params>
-->
<fetcher>
<applicationtype>spark</applicationtype>
<classname>com.linkedin.drelephant.spark.fetchers.FSFetcher</classname>
</fetcher>
<!--<fetcher>-->
<!--<applicationtype>spark</applicationtype>-->
<!--<classname>com.linkedin.drelephant.spark.fetchers.FSFetcher</classname>-->
<!--</fetcher>-->

<!--
This is an experimental fetcher for Spark applications which uses SHS REST API to get application metrics
Expand All @@ -106,7 +107,7 @@
*should_process_logs_locally* if use_rest_for_eventlogs is true, then enabling this flag will enable fetcher to just
get eventlogs via SHS REST API and derives application metrics and properties from eventlogs.
Therefore, fetcher does not use other REST calls, which may have significant memory overhead on SHS.

-->
<fetcher>
<applicationtype>spark</applicationtype>
<classname>com.linkedin.drelephant.spark.fetchers.SparkFetcher</classname>
Expand All @@ -115,7 +116,7 @@
<should_process_logs_locally>true</should_process_logs_locally>
</params>
</fetcher>
-->


<!--
Fetcher for TonY jobs. To use this, you must set the TONY_CONF_DIR environment variable to the directory
Expand Down
Loading