Spring for Apache Hadoop

org.springframework.yarn.boot.support
Class ContainerLauncherRunner

java.lang.Object
  extended by org.springframework.yarn.boot.support.ContainerLauncherRunner
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

public class ContainerLauncherRunner
extends java.lang.Object
implements org.springframework.boot.CommandLineRunner

CommandLineRunner to run Spring Yarn container.

Author:
Janne Valkealahti

Constructor Summary
ContainerLauncherRunner()
           
 
Method Summary
protected  void launchContainer(YarnContainer container, java.lang.String[] parameters)
           
 void run(java.lang.String... args)
           
 void setWaitLatch(boolean waitLatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerLauncherRunner

public ContainerLauncherRunner()
Method Detail

run

public void run(java.lang.String... args)
         throws java.lang.Exception
Specified by:
run in interface org.springframework.boot.CommandLineRunner
Throws:
java.lang.Exception

setWaitLatch

public void setWaitLatch(boolean waitLatch)

launchContainer

protected void launchContainer(YarnContainer container,
                               java.lang.String[] parameters)

Spring for Apache Hadoop