Class JournalNodeHttpServer

java.lang.Object
org.apache.hadoop.hdfs.qjournal.server.JournalNodeHttpServer

@Private public class JournalNodeHttpServer extends Object
Encapsulates the HTTP server started by the Journal Service.
  • Field Details

  • Method Details

    • getAddress

      public InetSocketAddress getAddress()
      Return the actual HTTP/HTTPS address bound to by the running server.
    • getHttpAddress

      public InetSocketAddress getHttpAddress()
      Return the actual address bound to by the running server.
    • getHttpsAddress

      public InetSocketAddress 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)