Class HddsDatanodeHttpServer

java.lang.Object
org.apache.hadoop.hdds.server.http.BaseHttpServer
org.apache.hadoop.ozone.HddsDatanodeHttpServer

public class HddsDatanodeHttpServer extends org.apache.hadoop.hdds.server.http.BaseHttpServer
Simple http server to provide basic monitoring for hdds datanode.

This server is used to access default /conf /prom /prof endpoints.

  • Constructor Details

    • HddsDatanodeHttpServer

      public HddsDatanodeHttpServer(org.apache.hadoop.hdds.conf.MutableConfigurationSource conf) throws IOException
      Throws:
      IOException
  • Method Details

    • getHttpAddressKey

      protected String getHttpAddressKey()
      Specified by:
      getHttpAddressKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpBindHostKey

      protected String getHttpBindHostKey()
      Specified by:
      getHttpBindHostKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpsAddressKey

      protected String getHttpsAddressKey()
      Specified by:
      getHttpsAddressKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpsBindHostKey

      protected String getHttpsBindHostKey()
      Specified by:
      getHttpsBindHostKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getBindHostDefault

      protected String getBindHostDefault()
      Specified by:
      getBindHostDefault in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpBindPortDefault

      protected int getHttpBindPortDefault()
      Specified by:
      getHttpBindPortDefault in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpsBindPortDefault

      protected int getHttpsBindPortDefault()
      Specified by:
      getHttpsBindPortDefault in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getKeytabFile

      protected String getKeytabFile()
      Specified by:
      getKeytabFile in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getSpnegoPrincipal

      protected String getSpnegoPrincipal()
      Specified by:
      getSpnegoPrincipal in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getEnabledKey

      protected String getEnabledKey()
      Specified by:
      getEnabledKey in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpAuthType

      protected String getHttpAuthType()
      Specified by:
      getHttpAuthType in class org.apache.hadoop.hdds.server.http.BaseHttpServer
    • getHttpAuthConfigPrefix

      protected String getHttpAuthConfigPrefix()
      Specified by:
      getHttpAuthConfigPrefix in class org.apache.hadoop.hdds.server.http.BaseHttpServer