Class DatanodeHttpServer
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer
- All Implemented Interfaces:
Closeable,AutoCloseable
Data node HTTP Server Class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSince the DataNode HTTP server is not implemented in terms of the servlet API, it takes some extra effort to obtain an instance of the filter. -
Constructor Summary
ConstructorsConstructorDescriptionDatanodeHttpServer(org.apache.hadoop.conf.Configuration conf, DataNode datanode, ServerSocketChannel externalHttpChannel) -
Method Summary
-
Constructor Details
-
DatanodeHttpServer
public DatanodeHttpServer(org.apache.hadoop.conf.Configuration conf, DataNode datanode, ServerSocketChannel externalHttpChannel) throws IOException - Throws:
IOException
-
-
Method Details
-
getHttpAddress
-
getHttpsAddress
-
start
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-