Spring for Apache Hadoop

org.springframework.yarn.boot.support
Class AppmasterLauncherRunner

java.lang.Object
  extended by org.springframework.yarn.boot.support.CommandLineRunnerSupport
      extended by org.springframework.yarn.boot.support.AppmasterLauncherRunner
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered

public class AppmasterLauncherRunner
extends CommandLineRunnerSupport
implements org.springframework.boot.CommandLineRunner

CommandLineRunner to run Spring Yarn appmaster.

Author:
Janne Valkealahti

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
AppmasterLauncherRunner()
           
 
Method Summary
protected  void launchAppmaster(YarnAppmaster appmaster, java.lang.String[] parameters)
           
 void run(java.lang.String... args)
           
 void setContainerCount(int containerCount)
           
 
Methods inherited from class org.springframework.yarn.boot.support.CommandLineRunnerSupport
countDownLatch, exit, exit, getExitCodeMapper, getOrder, isWaitLatch, setExitCodeMapper, setOrder, setWaitLatch, waitLatch, waitLatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppmasterLauncherRunner

public AppmasterLauncherRunner()
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

setContainerCount

public void setContainerCount(int containerCount)

launchAppmaster

protected void launchAppmaster(YarnAppmaster appmaster,
                               java.lang.String[] parameters)

Spring for Apache Hadoop