org.apache.nutch.mapReduce
Class JobTrackerInfoServer

java.lang.Object
  extended byorg.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

Nested Class Summary
static class JobTrackerInfoServer.RedirectHandler
           
 
Constructor Summary
JobTrackerInfoServer(JobTracker jobTracker, int port)
          We need the jobTracker to grab stats, and the port to know where to listen.
 
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
 

Constructor Detail

JobTrackerInfoServer

public JobTrackerInfoServer(JobTracker jobTracker,
                            int port)
                     throws IOException
We need the jobTracker to grab stats, and the port to know where to listen.

Method Detail

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