public class ContainerLauncherRunner
extends java.lang.Object
implements org.springframework.boot.CommandLineRunner
CommandLineRunner to run Spring Yarn container.| Constructor and Description |
|---|
ContainerLauncherRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
launchContainer(YarnContainer container,
java.lang.String[] parameters) |
void |
run(java.lang.String... args) |
void |
setWaitLatch(boolean waitLatch) |
public void run(java.lang.String... args)
throws java.lang.Exception
run in interface org.springframework.boot.CommandLineRunnerjava.lang.Exceptionpublic void setWaitLatch(boolean waitLatch)
protected void launchContainer(YarnContainer container, java.lang.String[] parameters)