public class AppmasterLauncherRunner extends CommandLineRunnerSupport implements org.springframework.boot.CommandLineRunner
CommandLineRunner to run Spring Yarn appmaster.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
AppmasterLauncherRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
launchAppmaster(org.springframework.yarn.am.YarnAppmaster appmaster,
String[] parameters) |
void |
run(String... args) |
void |
setContainerCount(int containerCount) |
countDownLatch, exit, exit, getExitCodeMapper, getOrder, isWaitLatch, setExitCodeMapper, setOrder, setWaitLatch, waitLatch, waitLatchpublic void run(String... args) throws Exception
run in interface org.springframework.boot.CommandLineRunnerExceptionpublic void setContainerCount(int containerCount)
protected void launchAppmaster(org.springframework.yarn.am.YarnAppmaster appmaster,
String[] parameters)