Stephen Chu created HDFS-4295: --------------------------------- Summary: Using port 1023 should be valid when starting Secure DataNode Key: HDFS-4295 URL: https://issues.apache.org/jira/browse/HDFS-4295 Project: Hadoop HDFS Issue Type: Bug Components: security Affects Versions: 2.0.0-alpha Reporter: Stephen Chu
In SecureDataNodeStarter: {code} if ((ss.getLocalPort() >= 1023 || listener.getPort() >= 1023) && UserGroupInformation.isSecurityEnabled()) { throw new RuntimeException("Cannot start secure datanode with unprivileged ports"); } {code} This prohibits using port 1023, but this should be okay because only root can listen to ports below 1024. We can change the >= to >. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira