Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashwanthkumar/hadoop-autokill
Auto Kill jobs in Hadoop Cluster after specified time
https://github.com/ashwanthkumar/hadoop-autokill
Last synced: about 7 hours ago
JSON representation
Auto Kill jobs in Hadoop Cluster after specified time
- Host: GitHub
- URL: https://github.com/ashwanthkumar/hadoop-autokill
- Owner: ashwanthkumar
- Created: 2012-02-25T12:58:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-02-25T13:06:28.000Z (over 12 years ago)
- Last Synced: 2024-04-14T09:19:01.749Z (7 months ago)
- Language: Java
- Homepage: http://blog.ashwanthkumar.in/2012/02/hadoop-autokill-hack.html
- Size: 92.8 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Hadoop AutoKill
---------------
Hadoop AutoKill is small hack which helps you have control over the Hadoop Jobs that you run on your Hadoop Cluster. When you have certain restrictions on the amount of time you have run a Job, then this piece of JAR will help you.You just have the change the values of the `JOB_TRACKER_IP`, `JOB_TRACKER_PORT`, `HADOOP_CONF` and `JOB_TIMEOUT` parameters in the `MonitorAllJobs` class. The last parameter can also be changed while executing also.
You need to execute the JAR as
`$ hadoop jar HadoopAutoKill.jar AutoKill 3600000`
PS: This is an eclipse project, and you might want to replace the User library Hadoop-0.20.205.0 with actual Hadoop-0.20.205.0 jars (from lib folder, inc. hadoop-core*.jar)
Word of Caution
---------------
I wanted to learn how to use the `JobClient` in Hadoop, for which I created this small hack. This piece of code has no JUnit tests, but was tested on a Single node cluster and it just works.