org.apache.hadoop.mapreduce.v2.hs.webapp
Class MapReduceTrackingUriPlugin

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.yarn.util.TrackingUriPlugin
          extended by org.apache.hadoop.mapreduce.v2.hs.webapp.MapReduceTrackingUriPlugin
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable

public class MapReduceTrackingUriPlugin
extends org.apache.hadoop.yarn.util.TrackingUriPlugin
implements org.apache.hadoop.conf.Configurable


Constructor Summary
MapReduceTrackingUriPlugin()
           
 
Method Summary
 URI getTrackingUri(org.apache.hadoop.yarn.api.records.ApplicationId id)
          Gets the URI to access the given application on MapReduce history server
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf
 

Constructor Detail

MapReduceTrackingUriPlugin

public MapReduceTrackingUriPlugin()
Method Detail

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable
Overrides:
setConf in class org.apache.hadoop.conf.Configured

getTrackingUri

public URI getTrackingUri(org.apache.hadoop.yarn.api.records.ApplicationId id)
                   throws URISyntaxException
Gets the URI to access the given application on MapReduce history server

Specified by:
getTrackingUri in class org.apache.hadoop.yarn.util.TrackingUriPlugin
Parameters:
id - the ID for which a URI is returned
Returns:
the tracking URI
Throws:
URISyntaxException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.