ClusterStatus implements Writable { @Deprecated public JobTracker.State getJobTrackerState() { return JobTracker.State.RUNNING; } ClusterStatus();   ClusterStatus(int trackers, int blacklists, long ttExpiryInterval, 
                int maps, int reduces,
                int maxMaps, int maxReduces, JobTrackerStatus status);   ClusterStatus(int trackers, int blacklists, long ttExpiryInterval, int maps,
      int reduces, int maxMaps, int maxReduces, JobTrackerStatus status,
      int numDecommissionedNodes);   ClusterStatus(int trackers, int blacklists, long ttExpiryInterval, int maps,
      int reduces, int maxMaps, int maxReduces, JobTrackerStatus status,
      int numDecommissionedNodes, int numGrayListedTrackers);   ClusterStatus(Collection<String> activeTrackers, 
      Collection<BlackListInfo> blacklistedTrackers,
      long ttExpiryInterval,
      int maps, int reduces, int maxMaps, int maxReduces, 
      JobTrackerStatus status);   ClusterStatus(Collection<String> activeTrackers,
      Collection<BlackListInfo> blackListedTrackerInfo, long ttExpiryInterval,
      int maps, int reduces, int maxMaps, int maxReduces,
      JobTrackerStatus status, int numDecommissionNodes); int getTaskTrackers(); Collection<String> getActiveTrackerNames(); Collection<String> getBlacklistedTrackerNames(); @Deprecated Collection<String> getGraylistedTrackerNames(); @Deprecated int getGraylistedTrackers(); int getBlacklistedTrackers(); int getNumExcludedNodes(); long getTTExpiryInterval(); int getMapTasks(); int getReduceTasks(); int getMaxMapTasks(); int getMaxReduceTasks(); JobTrackerStatus getJobTrackerStatus(); @Deprecated long getMaxMemory(); @Deprecated long getUsedMemory(); Collection<BlackListInfo> getBlackListedTrackersInfo(); @Deprecated JobTracker.State getJobTrackerState(); void write(DataOutput out); void readFields(DataInput in); static final long UNINITIALIZED_MEMORY_VALUE; }
@SuppressWarnings("deprecation") @Test (timeout = 10000) public void testJobTrackerState() { Assert.assertEquals(JobTracker.State.RUNNING, clusterStatus.getJobTrackerState()); }
@SuppressWarnings("deprecation") @Test (timeout = 1000) public void testJobTrackerState() { Assert.assertEquals(JobTracker.State.RUNNING, clusterStatus.getJobTrackerState()); }