org.apache.hadoop.yarn.util
Class TrackingUriPlugin

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.yarn.util.TrackingUriPlugin
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable

@InterfaceAudience.LimitedPrivate(value="MapReduce")
@InterfaceStability.Unstable
public abstract class TrackingUriPlugin
extends org.apache.hadoop.conf.Configured

Plugin to derive a tracking URL from a Yarn Application ID


Constructor Summary
TrackingUriPlugin()
           
 
Method Summary
abstract  URI getTrackingUri(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackingUriPlugin

public TrackingUriPlugin()
Method Detail

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.