发布时间:2013-12-01 15:26:18
1.HttpServer类的代码在core/org/apache/hadoop/http/HttpServer.java2.哪里用到了HttpServer?NameNode,DataNode,JobTracker,TaskTrackr都用到了HttpServer。3.以DataNode节点为例进行说明。DataNode类定义了HttpServer的实例:privateHttpServer infoServer = null;HttpServer的创建,设置,运行,停止流程.........【阅读全文】