[ https://issues.apache.org/jira/browse/MAPREDUCE-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743120#action_12743120
]
Hemanth Yamijala commented on MAPREDUCE-860:
--------------------------------------------
As discussed in MAPREDUCE-853, we will need to consider the APIs in JobClient which are public,
JobSubmissionProtocol and the QueueManager class. First, lets consider JobClient.
The following three APIs exist in JobClient:
{code}
// Gets all the jobs which were added to particular Job Queue
JobStatus[] getJobsFromQueue(String queueName);
// Gets the queue information associated to a particular Job Queue, particularly scheduling
information as a string.
JobQueueInfo getQueueInfo(String queueName);
// Return an array of queue information objects about all the Job Queues configured.
JobQueueInfo[] getQueues();
{code}
The JobQueueInfo class described above is defined as follows:
{code}
public class JobQueueInfo {
private String queueName;
private String schedulingInfo;
}
{code}
with appropriate getters and setters.
> Modify Queue APIs to support a hierarchy of queues
> --------------------------------------------------
>
> Key: MAPREDUCE-860
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-860
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Components: jobtracker
> Reporter: Hemanth Yamijala
> Assignee: rahul k singh
>
> MAPREDUCE-853 proposes to introduce a hierarchy of queues into the Map/Reduce framework.
This JIRA is for defining changes to the APIs related to queues.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|