You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jitendra Nath Pandey (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 19:07:57 UTC
[jira] [Created] (HDFS-3064) Allow datanodes to start with
non-privileged ports for testing.
Allow datanodes to start with non-privileged ports for testing.
---------------------------------------------------------------
Key: HDFS-3064
URL: https://issues.apache.org/jira/browse/HDFS-3064
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Jitendra Nath Pandey
Assignee: Jitendra Nath Pandey
HADOOP-8078 allows enabling security in unit tests. However, datanodes still can't be started because they require privileged ports. We should allow datanodes to come up on non-privileged ports ONLY for testing. This part of the code will be removed anyway, when HDFS-2856 is committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3064) Allow datanodes to start with
non-privileged ports for testing.
Posted by "Todd Lipcon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225351#comment-13225351 ]
Todd Lipcon commented on HDFS-3064:
-----------------------------------
FWIW, I suggested this a while back and people seemed to have concerns:
https://issues.apache.org/jira/browse/HDFS-1150?focusedCommentId=12894436&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12894436
> Allow datanodes to start with non-privileged ports for testing.
> ---------------------------------------------------------------
>
> Key: HDFS-3064
> URL: https://issues.apache.org/jira/browse/HDFS-3064
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
> Attachments: HDFS-3064.trunk.patch
>
>
> HADOOP-8078 allows enabling security in unit tests. However, datanodes still can't be started because they require privileged ports. We should allow datanodes to come up on non-privileged ports ONLY for testing. This part of the code will be removed anyway, when HDFS-2856 is committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3064) Allow datanodes to start with
non-privileged ports for testing.
Posted by "Allen Wittenauer (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225577#comment-13225577 ]
Allen Wittenauer commented on HDFS-3064:
----------------------------------------
This looks like a band-aid over a bigger problem.
> Allow datanodes to start with non-privileged ports for testing.
> ---------------------------------------------------------------
>
> Key: HDFS-3064
> URL: https://issues.apache.org/jira/browse/HDFS-3064
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
> Attachments: HDFS-3064.trunk.patch
>
>
> HADOOP-8078 allows enabling security in unit tests. However, datanodes still can't be started because they require privileged ports. We should allow datanodes to come up on non-privileged ports ONLY for testing. This part of the code will be removed anyway, when HDFS-2856 is committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-3064) Allow datanodes to start with
non-privileged ports for testing.
Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HDFS-3064:
---------------------------------------
Attachment: HDFS-3064.trunk.patch
Here is a preliminary patch, I will include a test too.
> Allow datanodes to start with non-privileged ports for testing.
> ---------------------------------------------------------------
>
> Key: HDFS-3064
> URL: https://issues.apache.org/jira/browse/HDFS-3064
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
> Attachments: HDFS-3064.trunk.patch
>
>
> HADOOP-8078 allows enabling security in unit tests. However, datanodes still can't be started because they require privileged ports. We should allow datanodes to come up on non-privileged ports ONLY for testing. This part of the code will be removed anyway, when HDFS-2856 is committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3064) Allow datanodes to start with
non-privileged ports for testing.
Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225380#comment-13225380 ]
Jitendra Nath Pandey commented on HDFS-3064:
--------------------------------------------
I went through the discussion only superficially but as I understood that the jira referred was a port from 20 and hence there were reservations to include this feature. But, I think it is worth having now because we do have a way of enabling security in unit tests and it is a blocker to bring up datanodes.
> Allow datanodes to start with non-privileged ports for testing.
> ---------------------------------------------------------------
>
> Key: HDFS-3064
> URL: https://issues.apache.org/jira/browse/HDFS-3064
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
> Attachments: HDFS-3064.trunk.patch
>
>
> HADOOP-8078 allows enabling security in unit tests. However, datanodes still can't be started because they require privileged ports. We should allow datanodes to come up on non-privileged ports ONLY for testing. This part of the code will be removed anyway, when HDFS-2856 is committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3064) Allow datanodes to start with
non-privileged ports for testing.
Posted by "Todd Lipcon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225442#comment-13225442 ]
Todd Lipcon commented on HDFS-3064:
-----------------------------------
Sure, I agree with you whole-heartedly :) But Jakob in particular seemed to be against it. I'll let him speak up if he still feels this way.
> Allow datanodes to start with non-privileged ports for testing.
> ---------------------------------------------------------------
>
> Key: HDFS-3064
> URL: https://issues.apache.org/jira/browse/HDFS-3064
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
> Attachments: HDFS-3064.trunk.patch
>
>
> HADOOP-8078 allows enabling security in unit tests. However, datanodes still can't be started because they require privileged ports. We should allow datanodes to come up on non-privileged ports ONLY for testing. This part of the code will be removed anyway, when HDFS-2856 is committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira