@InterfaceAudience.Private public class JournalNodeHttpServer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JN_ATTRIBUTE_KEY |
static org.apache.commons.logging.Log |
LOG |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddress()
Return the actual address bound to by the running server.
|
static Configuration |
getConfFromContext(javax.servlet.ServletContext context) |
static org.apache.hadoop.hdfs.qjournal.server.Journal |
getJournalFromContext(javax.servlet.ServletContext context,
String jid) |
public static final org.apache.commons.logging.Log LOG
public static final String JN_ATTRIBUTE_KEY
public InetSocketAddress getAddress()
public static org.apache.hadoop.hdfs.qjournal.server.Journal getJournalFromContext(javax.servlet.ServletContext context, String jid) throws IOException
IOException
public static Configuration getConfFromContext(javax.servlet.ServletContext context)
Copyright © 2013 Apache Software Foundation. All rights reserved.