@InterfaceAudience.Private public class SecondaryNameNode extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
SecondaryNameNode(Configuration conf)
Create a connection to the primary namenode.
|
SecondaryNameNode(Configuration conf,
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.CommandLineOpts commandLineOpts) |
Modifier and Type | Method and Description |
---|---|
void |
doWork() |
static InetSocketAddress |
getHttpAddress(Configuration conf) |
static void |
main(String[] argv)
main() has some simple utility methods.
|
void |
run() |
void |
shutdown()
Shut down this instance of the datanode.
|
void |
startCheckpointThread() |
String |
toString() |
public SecondaryNameNode(Configuration conf) throws IOException
IOException
public SecondaryNameNode(Configuration conf, org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.CommandLineOpts commandLineOpts) throws IOException
IOException
public static InetSocketAddress getHttpAddress(Configuration conf)
public void shutdown()
public void doWork()
public static void main(String[] argv) throws Exception
argv
- Command line parameters.Exception
- if the filesystem does not exist.public void startCheckpointThread()
Copyright © 2013 Apache Software Foundation. All rights reserved.