Package org.apache.hadoop.yarn.util
Class TrackingUriPlugin
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.yarn.util.TrackingUriPlugin
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
@LimitedPrivate("MapReduce")
@Unstable
public abstract class TrackingUriPlugin
extends org.apache.hadoop.conf.Configured
Plugin to derive a tracking URL from a YARN Application ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract URIgetTrackingUri(org.apache.hadoop.yarn.api.records.ApplicationId id) Given an application ID, return a tracking URI.Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Constructor Details
-
TrackingUriPlugin
public TrackingUriPlugin()
-
-
Method Details
-
getTrackingUri
public abstract URI getTrackingUri(org.apache.hadoop.yarn.api.records.ApplicationId id) throws URISyntaxException Given an application ID, return a tracking URI.- Parameters:
id- the ID for which a URI is returned- Returns:
- the tracking URI
- Throws:
URISyntaxException- exception thrown to indicate that a string could not be parsed as a URI reference.
-