HDFS-13195. DataNode conf page cannot display the current value after reconfig. Contributed by maobaolong.
This commit is contained in:
parent
3d0ee8b804
commit
66461ed98b
@ -120,6 +120,7 @@ public DatanodeHttpServer(final Configuration conf,
|
|||||||
|
|
||||||
this.infoServer = builder.build();
|
this.infoServer = builder.build();
|
||||||
|
|
||||||
|
this.infoServer.setAttribute(HttpServer2.CONF_CONTEXT_ATTRIBUTE, conf);
|
||||||
this.infoServer.setAttribute("datanode", datanode);
|
this.infoServer.setAttribute("datanode", datanode);
|
||||||
this.infoServer.setAttribute(JspHelper.CURRENT_CONF, conf);
|
this.infoServer.setAttribute(JspHelper.CURRENT_CONF, conf);
|
||||||
this.infoServer.addServlet(null, "/blockScannerReport",
|
this.infoServer.addServlet(null, "/blockScannerReport",
|
||||||
|
Loading…
Reference in New Issue
Block a user