Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
Always DN is starting in http mode.
HttpServer2.Builder builder = new HttpServer2.Builder() .setName("datanode") .setConf(confForInfoServer) .setACL(new AccessControlList(conf.get(DFS_ADMIN, " "))) .hostName(getHostnameForSpnegoPrincipal(confForInfoServer)) .addEndpoint(URI.create("http://localhost:0")) .setFindPort(true);
Should be based on configured policy
Attachments
Issue Links
- is broken by
-
HDFS-8572 DN always uses HTTP/localhost@REALM principals in SPNEGO
- Closed