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