public class DefaultClientMasterRunnerConfigurer extends AnnotationConfigurerAdapter<YarnClient,YarnClientConfigurer,YarnClientBuilder> implements ClientMasterRunnerConfigurer
AnnotationConfigurer
for YarnAppmaster
launch commands.Constructor and Description |
---|
DefaultClientMasterRunnerConfigurer() |
Modifier and Type | Method and Description |
---|---|
ClientMasterRunnerConfigurer |
arguments(java.util.Properties arguments) |
ClientMasterRunnerConfigurer |
beanName(java.lang.String bean) |
void |
configure(YarnClientBuilder builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
ClientMasterRunnerConfigurer |
contextClass(java.lang.Class<?> clazz) |
ClientMasterRunnerConfigurer |
contextFile(java.lang.String file) |
ClientMasterRunnerConfigurer |
stderr(java.lang.String path) |
ClientMasterRunnerConfigurer |
stdout(java.lang.String path) |
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and
public void configure(YarnClientBuilder builder) throws java.lang.Exception
AnnotationConfigurer
AnnotationBuilder
by setting the necessary properties
on the AnnotationBuilder
.configure
in interface AnnotationConfigurer<YarnClient,YarnClientBuilder>
configure
in class AnnotationConfigurerAdapter<YarnClient,YarnClientConfigurer,YarnClientBuilder>
builder
- the builderjava.lang.Exception
- if error occurredpublic ClientMasterRunnerConfigurer contextClass(java.lang.Class<?> clazz)
contextClass
in interface ClientMasterRunnerConfigurer
public ClientMasterRunnerConfigurer contextFile(java.lang.String file)
contextFile
in interface ClientMasterRunnerConfigurer
public ClientMasterRunnerConfigurer beanName(java.lang.String bean)
beanName
in interface ClientMasterRunnerConfigurer
public ClientMasterRunnerConfigurer stdout(java.lang.String path)
stdout
in interface ClientMasterRunnerConfigurer
public ClientMasterRunnerConfigurer stderr(java.lang.String path)
stderr
in interface ClientMasterRunnerConfigurer
public ClientMasterRunnerConfigurer arguments(java.util.Properties arguments)
arguments
in interface ClientMasterRunnerConfigurer