Class MapReduceTrackingUriPlugin
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.yarn.util.TrackingUriPlugin
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTrackingUri(org.apache.hadoop.yarn.api.records.ApplicationId id) Gets the URI to access the given application on MapReduce history servervoidsetConf(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.conf.Configured
getConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf
-
Constructor Details
-
MapReduceTrackingUriPlugin
public MapReduceTrackingUriPlugin()
-
-
Method Details
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf) - Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable- Overrides:
setConfin classorg.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:
getTrackingUriin classorg.apache.hadoop.yarn.util.TrackingUriPlugin- Parameters:
id- the ID for which a URI is returned- Returns:
- the tracking URI
- Throws:
URISyntaxException
-