JobClient client = new JobClient(jconf);
      Collection<String> trackers =
        client.getClusterStatus(true).getActiveTrackerNames();


On Mon, Aug 23, 2010 at 9:02 AM, Ted Yu <[email protected]> wrote:

> Hi,
> How can I obtain the list of active TaskTrackers programmatically ?
> I looked at machines.jsp which uses a reference to JobTracker
>
> How do I obtain JobTracker reference from client ?
>
> Thanks
>

Reply via email to