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
IOException
InterruptedException
public org.apache.hadoop.mapreduce.JobStatus[] getAllJobs() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.TaskTrackerInfo[] getBlacklistedTrackers() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.ClusterMetrics getClusterMetrics() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.security.token.Token getDelegationToken(org.apache.hadoop.io.Text renewer) throws IOException, InterruptedException
IOException
InterruptedException
public String getFilesystemName() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.JobID getNewJobID() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.QueueInfo getQueue(String queueName) throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.QueueAclsInfo[] getQueueAclsForCurrentUser() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.QueueInfo[] getQueues() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.QueueInfo[] getRootQueues() throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.hadoop.mapreduce.QueueInfo[] getChildQueues(String parent) throws IOException, InterruptedException
IOException
InterruptedException
public String getStagingAreaDir() throws IOException, InterruptedException
IOException
InterruptedException
public String getSystemDir() throws IOException, InterruptedException
IOException
InterruptedException
public long getTaskTrackerExpiryInterval() throws IOException, InterruptedException
IOException
InterruptedException
public void setJobPriority(org.apache.hadoop.mapreduce.JobID arg0, String arg1) throws IOException, InterruptedException
IOException
InterruptedException
public long getProtocolVersion(String arg0, long arg1) throws IOException
IOException
public 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.YarnException
IOException
Copyright © 2016 Apache Software Foundation. All rights reserved.