Class JobQueueInfo

java.lang.Object
org.apache.hadoop.mapreduce.QueueInfo
org.apache.hadoop.mapred.JobQueueInfo
All Implemented Interfaces:
Writable

@Public @Stable public class JobQueueInfo extends QueueInfo
Class that contains the information regarding the Job Queues which are maintained by the Hadoop Map/Reduce framework.
  • Constructor Details

    • JobQueueInfo

      public JobQueueInfo()
      Default constructor for Job Queue Info.
    • JobQueueInfo

      public JobQueueInfo(String queueName, String schedulingInfo)
      Construct a new JobQueueInfo object using the queue name and the scheduling information passed.
      Parameters:
      queueName - Name of the job queue
      schedulingInfo - Scheduling Information associated with the job queue
  • Method Details

    • setQueueName

      @Private public void setQueueName(String queueName)
      Set the queue name of the JobQueueInfo
      Overrides:
      setQueueName in class QueueInfo
      Parameters:
      queueName - Name of the job queue.
    • setSchedulingInfo

      @Private public void setSchedulingInfo(String schedulingInfo)
      Set the scheduling information associated to particular job queue
      Overrides:
      setSchedulingInfo in class QueueInfo
      Parameters:
      schedulingInfo -
    • setQueueState

      @Private public void setQueueState(String state)
      Set the state of the queue
      Parameters:
      state - state of the queue.
    • getQueueState

      @Deprecated public String getQueueState()
      Deprecated.
      Use getState() instead
    • setChildren

      @Private public void setChildren(List<JobQueueInfo> children)
    • getChildren

      public List<JobQueueInfo> getChildren()
    • setProperties

      @Private public void setProperties(Properties props)
      Overrides:
      setProperties in class QueueInfo
    • setJobStatuses

      @Private public void setJobStatuses(JobStatus[] stats)
      Overrides:
      setJobStatuses in class QueueInfo