public class BootstrapActions.ConfigureDaemons extends Object
Modifier and Type | Method and Description |
---|---|
BootstrapActionConfig |
build()
Returns an object which can be used in a RunJobflow call.
|
BootstrapActions.ConfigureDaemons |
withHeapSize(BootstrapActions.Daemon daemon,
int megabytes)
Set the heap size of a daemon.
|
BootstrapActions.ConfigureDaemons |
withOpts(BootstrapActions.Daemon daemon,
String opts)
Specify additional Java opts to be included when the daemon starts.
|
BootstrapActions.ConfigureDaemons |
withReplace(boolean replace)
Replace the existing hadoop-user-env.sh file if it exists.
|
public BootstrapActions.ConfigureDaemons withHeapSize(BootstrapActions.Daemon daemon, int megabytes)
daemon
- The deamon to configure.megabytes
- The requested heap size of the daemon.public BootstrapActions.ConfigureDaemons withOpts(BootstrapActions.Daemon daemon, String opts)
daemon
- The daemon to add opts to.opts
- Additional Java command line arguments.public BootstrapActions.ConfigureDaemons withReplace(boolean replace)
replace
- whether the file should be replaced.public BootstrapActionConfig build()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.