org.apache.commons.daemon.Daemonpublic class SecureDataNodeStarter
extends java.lang.Object
implements org.apache.commons.daemon.Daemon
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SecureDataNodeStarter.SecureResources |
Stash necessary resources needed for datanode operation in a secure env.
|
| Constructor | Description |
|---|---|
SecureDataNodeStarter() |
| Modifier and Type | Method | 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 java.lang.Exception
init in interface org.apache.commons.daemon.Daemonjava.lang.Exceptionpublic void start()
throws java.lang.Exception
start in interface org.apache.commons.daemon.Daemonjava.lang.Exceptionpublic void destroy()
destroy in interface org.apache.commons.daemon.Daemonpublic void stop()
throws java.lang.Exception
stop in interface org.apache.commons.daemon.Daemonjava.lang.Exception@VisibleForTesting public static SecureDataNodeStarter.SecureResources getSecureResources(org.apache.hadoop.conf.Configuration conf) throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.