org.springframework.yarn.boot.support
Class AppmasterLauncherRunner
java.lang.Object
org.springframework.yarn.boot.support.CommandLineRunnerSupport
org.springframework.yarn.boot.support.AppmasterLauncherRunner
- All Implemented Interfaces:
- org.springframework.boot.CommandLineRunner, Ordered
public class AppmasterLauncherRunner
- extends CommandLineRunnerSupport
- implements org.springframework.boot.CommandLineRunner
CommandLineRunner to run Spring Yarn appmaster.
- Author:
- Janne Valkealahti
| 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 |
AppmasterLauncherRunner
public AppmasterLauncherRunner()
run
public void run(String... args)
throws Exception
- Specified by:
run in interface org.springframework.boot.CommandLineRunner
- Throws:
Exception
setContainerCount
public void setContainerCount(int containerCount)
launchAppmaster
protected void launchAppmaster(org.springframework.yarn.am.YarnAppmaster appmaster,
String[] parameters)