Class JournalNodeHttpServer
java.lang.Object
org.apache.hadoop.hdfs.qjournal.server.JournalNodeHttpServer
Encapsulates the HTTP server started by the Journal Service.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the actual HTTP/HTTPS address bound to by the running server.static org.apache.hadoop.conf.ConfigurationgetConfFromContext(javax.servlet.ServletContext context) Return the actual address bound to by the running server.Return the actual address bound to by the running server.static JournalgetJournalFromContext(javax.servlet.ServletContext context, String jid)
-
Field Details
-
JN_ATTRIBUTE_KEY
- See Also:
-
-
Method Details
-
getAddress
Return the actual HTTP/HTTPS address bound to by the running server. -
getHttpAddress
Return the actual address bound to by the running server. -
getHttpsAddress
Return the actual address bound to by the running server. -
getJournalFromContext
public static Journal getJournalFromContext(javax.servlet.ServletContext context, String jid) throws IOException - Throws:
IOException
-
getConfFromContext
public static org.apache.hadoop.conf.Configuration getConfFromContext(javax.servlet.ServletContext context)
-