org.apache.hadoop.yarn.server.webproxy
Class WebAppProxyServer

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.service.CompositeService
          extended by org.apache.hadoop.yarn.server.webproxy.WebAppProxyServer
All Implemented Interfaces:
org.apache.hadoop.yarn.service.Service

public class WebAppProxyServer
extends org.apache.hadoop.yarn.service.CompositeService

ProxyServer will sit in between the end user and AppMaster web interfaces.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.service.CompositeService
org.apache.hadoop.yarn.service.CompositeService.CompositeServiceShutdownHook
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Field Summary
static int SHUTDOWN_HOOK_PRIORITY
          Priority of the ResourceManager shutdown hook.
 
Constructor Summary
WebAppProxyServer()
           
 
Method Summary
protected  void doSecureLogin(org.apache.hadoop.conf.Configuration conf)
          Log in as the Kerberose principal designated for the proxy
 void init(org.apache.hadoop.conf.Configuration conf)
           
static void main(String[] args)
           
 
Methods inherited from class org.apache.hadoop.yarn.service.CompositeService
addService, getServices, removeService, start, stop
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHUTDOWN_HOOK_PRIORITY

public static final int SHUTDOWN_HOOK_PRIORITY
Priority of the ResourceManager shutdown hook.

See Also:
Constant Field Values
Constructor Detail

WebAppProxyServer

public WebAppProxyServer()
Method Detail

init

public void init(org.apache.hadoop.conf.Configuration conf)
Specified by:
init in interface org.apache.hadoop.yarn.service.Service
Overrides:
init in class org.apache.hadoop.yarn.service.CompositeService

doSecureLogin

protected void doSecureLogin(org.apache.hadoop.conf.Configuration conf)
                      throws IOException
Log in as the Kerberose principal designated for the proxy

Parameters:
conf - the configuration holding this information in it.
Throws:
IOException - on any error.

main

public static void main(String[] args)


Copyright © 2013 Apache Software Foundation. All Rights Reserved.