Comments (6)
@BrianGallew @canghaiyisu666, I am not sure why Spark isn't picking up 'spark.eventLog.dir'.
I have submitted a pull request to make the log directory configurable in Dr. Elephant. You can cherry pick or pull the changes once I commit it.
Then you can add your spark event log directory to the FetcherConf.xml present in app-conf directory.
from dr-elephant.
@canghaiyisu666, I do not have much context on this. What is your usecase?
Can't you do, new SparkConf().get("spark.eventLog.dir", DEFAULT_LOG_DIR)?
from dr-elephant.
@akshayrai
new SparkConf().get("spark.eventLog.dir", DEFAULT_LOG_DIR) uses java.lang.System.getProperties() to load variable.
But in CDH cluster ,the environment variable was empty util got a spark runtime.
so, i got the DEFAULT_LOG_DIR here.
perhaps , we could use conf.addResource("PATH_TO_spark-defaults.conf"),to figure out.
from dr-elephant.
I have a possibly-related issue: spark.eventLog.dir is set in /etc/spark/conf/spark-defaults.conf, but is ignored by Dr. Elephant, resulting in failure to analyze Spark jobs.
04-29-2016 16:29:26 ERROR com.linkedin.drelephant.ElephantRunner : java.security.PrivilegedActionException: java.io.FileNotFoundException: File does not exist: /system/spark-history/application_1461865977868_0043_1.snappy
The actual logfile is at
-rwxrwx--- 3 azkaban spark 129563 2016-04-29 03:40 /var/log/spark/apps/application_1461865977868_0043
from dr-elephant.
@BrianGallew
we have the same issue.
spark.eventLog.dir was set in /etc/spark/conf/spark-defaults.conf, But "new SparkConf()" couldn't get this. So you got the default dir prefix "/system/spark-history"
from dr-elephant.
@akshayrai
Very reasonable~
from dr-elephant.
Related Issues (20)
- looked through 0 jobs HOT 2
- How to delete recodes from the database? HOT 1
- Compilation Issue - Spark 2.3.0 and Hadoop - 2.7.3 HOT 1
- Dr-Elephant not fetching RUNNING spark application (only succeeded and failed applications are fetched) HOT 4
- Why need second retry queue? HOT 2
- dr-elephant on databricks spark cluster HOT 1
- We are trying to deploy Dr.Elephant but unable to built JAR in Hadoop 3.1.1/ Spark 2.3.2 / Scala 2.11.12 HOT 2
- ./compile.sh: line 53: play: command not found HOT 25
- database connection issue
- Is there support for spark Spark 2.4.2 HOT 2
- Connection refused for http://repo.typesafe.com/typesafe HOT 4
- Compile Can't continue on this step ,why ?
- Support for Spark 3.0 HOT 3
- Update jvm_props to jvm_args in wiki
- DrElephant with postgres
- build fails on AArch64, Fedora 33 HOT 1
- Enable to see data under task on dr.elephant UI. HOT 1
- Compilation test failed - dr.elephant HOT 1
- bower install error on running jenkins/build_image.sh
- Having trouble in creating build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dr-elephant.