hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4295) Using port 1023 should be valid when starting Secure DataNode
Date Tue, 11 Dec 2012 10:47:30 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528877#comment-13528877
] 

Hudson commented on HDFS-4295:
------------------------------

Integrated in Hadoop-Yarn-trunk #62 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/62/])
    HDFS-4295. Using port 1023 should be valid when starting Secure DataNode. Contributed
by Stephen Chu. (Revision 1419854)

     Result = FAILURE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1419854
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/SecureDataNodeStarter.java

                
> 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
>            Assignee: Stephen Chu
>              Labels: trivial
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4295.patch
>
>
> 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

Mime
View raw message