org.apache.nutch.mapReduce
Class JobTrackerInfoServer
java.lang.Object
org.apache.nutch.mapReduce.JobTrackerInfoServer
- public class JobTrackerInfoServer
- extends Object
JobTrackerInfoServer provides stats about the JobTracker
via HTTP. It's useful for clients that want to track
their jobs' progress.
- Author:
- Mike Cafarella
Method Summary |
void |
start()
Launch the HTTP server |
void |
stop()
Stop the HTTP server |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobTrackerInfoServer
public JobTrackerInfoServer(JobTracker jobTracker,
int port)
throws IOException
- We need the jobTracker to grab stats, and the port to
know where to listen.
start
public void start()
throws IOException
- Launch the HTTP server
- Throws:
IOException
stop
public void stop()
- Stop the HTTP server
Copyright © 2006 The Apache Software Foundation