code: private List<TaskTrackerStatus> getStatusesOnHost(String hostName) {
      List<TaskTrackerStatus> statuses = new ArrayList<TaskTrackerStatus>();
      synchronized (taskTrackers) {
        for (TaskTracker tt : taskTrackers.values()) {
          TaskTrackerStatus status = tt.getStatus();
          if (hostName.equals(status.getHost())) {
            statuses.add(status);
          }
        }
      }
      return statuses;
    }
docs: Get all task tracker statuses on given host
  
  Assumes JobTracker is locked on the entry
  @param hostName
  @return {@link java.util.List} of {@link TaskTrackerStatus}