public class ResourceMgrDelegate extends Object
| Constructor and Description |
|---|
ResourceMgrDelegate(org.apache.hadoop.yarn.conf.YarnConfiguration conf)
Delegate responsible for communicating with the Resource Manager's
ApplicationClientProtocol. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.TaskTrackerInfo[] |
getActiveTrackers() |
org.apache.hadoop.mapreduce.JobStatus[] |
getAllJobs() |
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId() |
org.apache.hadoop.mapreduce.TaskTrackerInfo[] |
getBlacklistedTrackers() |
org.apache.hadoop.mapreduce.QueueInfo[] |
getChildQueues(String parent) |
org.apache.hadoop.mapreduce.ClusterMetrics |
getClusterMetrics() |
org.apache.hadoop.security.token.Token |
getDelegationToken(org.apache.hadoop.io.Text renewer) |
String |
getFilesystemName() |
org.apache.hadoop.mapreduce.JobID |
getNewJobID() |
long |
getProtocolVersion(String arg0,
long arg1) |
org.apache.hadoop.mapreduce.QueueInfo |
getQueue(String queueName) |
org.apache.hadoop.mapreduce.QueueAclsInfo[] |
getQueueAclsForCurrentUser() |
org.apache.hadoop.mapreduce.QueueInfo[] |
getQueues() |
org.apache.hadoop.mapreduce.QueueInfo[] |
getRootQueues() |
String |
getStagingAreaDir() |
String |
getSystemDir() |
long |
getTaskTrackerExpiryInterval() |
void |
killApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
void |
setJobPriority(org.apache.hadoop.mapreduce.JobID arg0,
String arg1) |
public ResourceMgrDelegate(org.apache.hadoop.yarn.conf.YarnConfiguration conf)
ApplicationClientProtocol.conf - the configuration object.public org.apache.hadoop.mapreduce.TaskTrackerInfo[] getActiveTrackers()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.JobStatus[] getAllJobs()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.TaskTrackerInfo[] getBlacklistedTrackers()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.ClusterMetrics getClusterMetrics()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.security.token.Token getDelegationToken(org.apache.hadoop.io.Text renewer)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic String getFilesystemName() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.JobID getNewJobID()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.QueueInfo getQueue(String queueName) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.QueueAclsInfo[] getQueueAclsForCurrentUser()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.QueueInfo[] getQueues()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.QueueInfo[] getRootQueues()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.QueueInfo[] getChildQueues(String parent) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getStagingAreaDir() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getSystemDir() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic long getTaskTrackerExpiryInterval()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void setJobPriority(org.apache.hadoop.mapreduce.JobID arg0,
String arg1)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic long getProtocolVersion(String arg0, long arg1) throws IOException
IOExceptionpublic org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
public void killApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.