Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
2.8.0, 2.7.3
-
None
-
None
-
None
Description
When launching MiniDFSCluster in a test, with "dfs.data.transfer.protection=integrity" and without specifying a ssl-server.xml, the code hangs on "builder.build()".
This is because in HttpServer2, it is setting a null value on the SslSocketConnector:
c.setKeyPassword(keyPassword);
Instead, this call should be inside the "if (keystore != null) {" block. Once this is done the code exits as expected with an error.