Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-alpha
-
Reviewed
Description
In SecureDataNodeStarter:
if ((ss.getLocalPort() >= 1023 || listener.getPort() >= 1023) && UserGroupInformation.isSecurityEnabled()) { throw new RuntimeException("Cannot start secure datanode with unprivileged ports"); }
This prohibits using port 1023, but this should be okay because only root can listen to ports below 1024.
We can change the >= to >.