org.apache.hadoop.mapred
Class JobQueueInfo

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

@InterfaceAudience.Public
@InterfaceStability.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 Summary
JobQueueInfo()
          Default constructor for Job Queue Info.
JobQueueInfo(String queueName, String schedulingInfo)
          Construct a new JobQueueInfo object using the queue name and the scheduling information passed.
 
Method Summary
 List<JobQueueInfo> getChildren()
           
protected  void setChildren(List<JobQueueInfo> children)
           
protected  void setJobStatuses(JobStatus[] stats)
           
protected  void setProperties(Properties props)
           
protected  void setQueueName(String queueName)
          Set the queue name of the JobQueueInfo
protected  void setQueueState(String state)
          Set the state of the queue
protected  void setSchedulingInfo(String schedulingInfo)
          Set the scheduling information associated to particular job queue
 
Methods inherited from class org.apache.hadoop.mapreduce.QueueInfo
getJobStatuses, getProperties, getQueueChildren, getQueueName, getSchedulingInfo, getState, readFields, setQueueChildren, setState, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

setQueueName

protected void setQueueName(String queueName)
Set the queue name of the JobQueueInfo

Overrides:
setQueueName in class QueueInfo
Parameters:
queueName - Name of the job queue.

setSchedulingInfo

protected void setSchedulingInfo(String schedulingInfo)
Set the scheduling information associated to particular job queue

Overrides:
setSchedulingInfo in class QueueInfo
Parameters:
schedulingInfo -

setQueueState

protected void setQueueState(String state)
Set the state of the queue

Parameters:
state - state of the queue.

setChildren

protected void setChildren(List<JobQueueInfo> children)

getChildren

public List<JobQueueInfo> getChildren()

setProperties

protected void setProperties(Properties props)
Overrides:
setProperties in class QueueInfo

setJobStatuses

protected void setJobStatuses(JobStatus[] stats)
Overrides:
setJobStatuses in class QueueInfo


Copyright © 2013 Apache Software Foundation. All Rights Reserved.