public class SecureDataNodeStarter extends Object implements org.apache.commons.daemon.Daemon
| Modifier and Type | Class and Description |
|---|---|
static class |
SecureDataNodeStarter.SecureResources
Stash necessary resources needed for datanode operation in a secure env.
|
| Constructor and Description |
|---|
SecureDataNodeStarter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static SecureDataNodeStarter.SecureResources |
getSecureResources(org.apache.hadoop.conf.Configuration conf)
Acquire privileged resources (i.e., the privileged ports) for the data
node.
|
void |
init(org.apache.commons.daemon.DaemonContext context) |
void |
start() |
void |
stop() |
public void init(org.apache.commons.daemon.DaemonContext context)
throws Exception
init in interface org.apache.commons.daemon.DaemonExceptionpublic void start()
throws Exception
start in interface org.apache.commons.daemon.DaemonExceptionpublic void destroy()
destroy in interface org.apache.commons.daemon.Daemonpublic void stop()
throws Exception
stop in interface org.apache.commons.daemon.DaemonException@VisibleForTesting public static SecureDataNodeStarter.SecureResources getSecureResources(org.apache.hadoop.conf.Configuration conf) throws Exception
ExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.