Package org.apache.hadoop.mapred
Class JobQueueInfo
java.lang.Object
org.apache.hadoop.mapreduce.QueueInfo
org.apache.hadoop.mapred.JobQueueInfo
- All Implemented Interfaces:
Writable
Class that contains the information regarding the Job Queues which are
maintained by the Hadoop Map/Reduce framework.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionDeprecated.voidsetChildren(List<JobQueueInfo> children) voidsetJobStatuses(JobStatus[] stats) voidsetProperties(Properties props) voidsetQueueName(String queueName) Set the queue name of the JobQueueInfovoidsetQueueState(String state) Set the state of the queuevoidsetSchedulingInfo(String schedulingInfo) Set the scheduling information associated to particular job queueMethods inherited from class org.apache.hadoop.mapreduce.QueueInfo
getJobStatuses, getProperties, getQueueChildren, getQueueName, getSchedulingInfo, getState, readFields, setQueueChildren, setState, write
-
Constructor Details
-
JobQueueInfo
public JobQueueInfo()Default constructor for Job Queue Info. -
JobQueueInfo
Construct a new JobQueueInfo object using the queue name and the scheduling information passed.- Parameters:
queueName- Name of the job queueschedulingInfo- Scheduling Information associated with the job queue
-
-
Method Details
-
setQueueName
Set the queue name of the JobQueueInfo- Overrides:
setQueueNamein classQueueInfo- Parameters:
queueName- Name of the job queue.
-
setSchedulingInfo
Set the scheduling information associated to particular job queue- Overrides:
setSchedulingInfoin classQueueInfo- Parameters:
schedulingInfo-
-
setQueueState
Set the state of the queue- Parameters:
state- state of the queue.
-
getQueueState
Deprecated.Use getState() instead -
setChildren
-
getChildren
-
setProperties
- Overrides:
setPropertiesin classQueueInfo
-
setJobStatuses
- Overrides:
setJobStatusesin classQueueInfo
-