Comments (2)
Hi @kockockockoc ,
Only garmadon-agent, garmadon-forwarder and garmadon-readers-* are usefull to deploy garmadon
Other jars are dependencies to agent/forwarder/readers jars to share protobuf schema, some mechanism to trace metrics...
garmadon-frameworks-spark is loaded by the garmadon-agent to retreive metrics from spark application using Spark Listener mechanism.
The listener is automatically attached to spark driver if you use StandaloneModule (-javaagent:path-to-garmadon-agent-jar=com.criteo.hadoop.garmadon.agent.modules.StandaloneModule) or ContainerModule (-javaagent:path-to-garmadon-agent-jar=com.criteo.hadoop.garmadon.agent.modules.ContainerModule)
executorService.submit(() -> {
SparkListenerTracer.setup(ContainerHeader.getInstance().getHeader(),
(timestamp, header, event) -> eventProcessor.offer(timestamp, header, event));
});
Properties props = System.getProperties();
props.setProperty("spark.extraListeners", "com.criteo.hadoop.garmadon.spark.listener.GarmadonSparkListener");
So you don't have any specific things to do, only need to bind the agent to all spark JVMs (client and containers).
Will see to improve the documentation around garmadon and spark
For readers:
- garmadon-readers-hdfs, will need to add some documentation about it, @gray-matter ?
- garmadon-readers-heuristics, it is still bind to some specificities from criteo so not really available for now.
from garmadon.
Thank you for explaining. I was a bit confused by the fact that there were separate jars after "mvn clean package".
from garmadon.
Related Issues (17)
- Lot's of sockets in CLOSE-WAIT HOT 4
- Agent stuck ESTAB socket with no LISTEN on port used by forwarder
- Agent does not close the connection on greeting refusal HOT 1
- STATE_EVENT size is not measured in forwarder's metric
- JVMStatistics should scheduleAtFixedInterval instead of scheduleAtFixedRate
- StateEvent size is not computed in forwarder metrics
- Get network statistics per container HOT 8
- scripts/bump_release.sh not working on OSX
- [HDFS exporter] Values should be configurable through command line
- Retreive containers metrics per applications
- For hdfs event user reported should be the one from DFS not the user running the process
- Improve tags on agent
- garmadon at kerberosed kafka HOT 2
- ElasticSearch reader: can't PUT _template/garmadon HOT 2
- add versionning for protocol
- Running Job and registered task Manager are inverted in GarmadonFlinkReporter
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 garmadon.