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

Spark 3/ local / Uncompressed #716

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion app-conf/AutoTuningConf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<configuration>
<property>
<name>autotuning.enabled</name>
<value>false</value>
<value>true</value>
<description>Enable or disable auto tuning</description>
</property>
<property>
Expand Down
19 changes: 11 additions & 8 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 @@ -58,7 +58,7 @@
To work properly, this fetcher should use the same timezone with the job history server.
If not set, the local timezone will be used.
-->

<fetcher>
<applicationtype>mapreduce</applicationtype>
<classname>com.linkedin.drelephant.mapreduce.fetchers.MapReduceFSFetcherHadoop2</classname>
Expand All @@ -68,7 +68,7 @@
<history_server_time_zone>PST</history_server_time_zone>
</params>
</fetcher>


<!--
FSFetcher for Spark. Loads the eventlog from HDFS and replays to get the metrics and application properties
Expand All @@ -89,12 +89,15 @@
<fetcher>
<applicationtype>spark</applicationtype>
<classname>com.linkedin.drelephant.spark.fetchers.FSFetcher</classname>
<params>
<event_log_location_uri>/Users/abdelrahmanmosly/IncortaAnalytics/IncortaNode/spark/eventlogs/</event_log_location_uri>
</params>
</fetcher>

<!--
This is an experimental fetcher for Spark applications which uses SHS REST API to get application metrics
and WebHDFS to get application properties from eventlogs. Please note that this fetcher also supports backfill.
But backfill implementation in this fetcher relies upon SHS REST APIs' which are only available since Spark 2.3
But backfill implementation in this fetcher relies upon SHS REST APIs' which are only available since Spark 2.3

<fetcher>
<applicationtype>spark</applicationtype>
Expand Down Expand Up @@ -125,4 +128,4 @@
<applicationtype>tony</applicationtype>
<classname>com.linkedin.drelephant.tony.fetchers.TonyFetcher</classname>
</fetcher-->
</fetchers>
</fetchers>
7 changes: 4 additions & 3 deletions app-conf/elephant.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Play application server port
http_port=8080
http_port=40000

# Un-comment these configs if need to enable SSL for Dr.Elephant
#https_port=8090
Expand All @@ -15,10 +15,10 @@ http_port=8080
# application_secret="changeme"

# Database configuration
db_url=localhost
db_url=127.0.0.1
db_name=drelephant
db_user=root
db_password=""
db_password="root"

# Enable web analytics for the application.
# By default analytics is not turned on. Set this property
Expand All @@ -37,6 +37,7 @@ enable_analytics=false
# Use mem for tuning Heap Memory
jvm_args="-Devolutionplugin=enabled -DapplyEvolutions.default=true -mem 1024 -J-Xloggc:$project_root../logs/elephant/dr-gc.`date +'%Y%m%d%H%M'` -J-XX:+PrintGCDetails"

jvm_props=" -Devolutionplugin=enabled -DapplyEvolutions.default=true"

# Property enables dropwizard metrics for the application.
# More info on Dropwizard metrics at http://metrics.dropwizard.io
Expand Down
Loading