You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Philippe Gassmann (JIRA)" <ji...@apache.org> on 2006/09/13 10:23:24 UTC

[jira] Created: (HADOOP-527) Allow to specify the bind address for all hadoop servers

Allow to specify the bind address for all hadoop servers
--------------------------------------------------------

                 Key: HADOOP-527
                 URL: http://issues.apache.org/jira/browse/HADOOP-527
             Project: Hadoop
          Issue Type: Improvement
    Affects Versions: 0.6.0, 0.5.0, 0.4.0, 0.3.2, 0.3.1, 0.3.0, 0.2.1, 0.2.0, 0.1.1, 0.1.0, 0.6.1, 0.7.0
            Reporter: Philippe Gassmann


Hadoop servers sockets are always binded on 0.0.0.0 ; this patch allow to specify a bind address.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-527) Allow to specify the bind address for all hadoop servers

Posted by "Philippe Gassmann (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-527?page=comments#action_12434806 ] 
            
Philippe Gassmann commented on HADOOP-527:
------------------------------------------

OK, that does make sense, I will update the patch ASAP

> Allow to specify the bind address for all hadoop servers
> --------------------------------------------------------
>
>                 Key: HADOOP-527
>                 URL: http://issues.apache.org/jira/browse/HADOOP-527
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.1.0, 0.2.0, 0.1.1, 0.3.0, 0.4.0, 0.2.1, 0.5.0, 0.3.1, 0.3.2, 0.6.0, 0.7.0, 0.6.1
>            Reporter: Philippe Gassmann
>         Attachments: patch-bind-on-custom-addr
>
>
> Hadoop servers sockets are always binded on 0.0.0.0 ; this patch allow to specify a bind address.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HADOOP-527) Allow to specify the bind address for all hadoop servers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-527?page=all ]

Doug Cutting resolved HADOOP-527.
---------------------------------

    Fix Version/s: 0.7.0
       Resolution: Fixed

I just committed this.  Thanks, Philippe!

About the unused parameter: can you submit this as a separate issue?  Thanks.

> Allow to specify the bind address for all hadoop servers
> --------------------------------------------------------
>
>                 Key: HADOOP-527
>                 URL: http://issues.apache.org/jira/browse/HADOOP-527
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.1.0, 0.2.0, 0.1.1, 0.3.0, 0.4.0, 0.2.1, 0.5.0, 0.3.1, 0.3.2, 0.6.0, 0.7.0, 0.6.1
>            Reporter: Philippe Gassmann
>             Fix For: 0.7.0
>
>         Attachments: patch-bind-on-custom-addr, patch-bind-on-custom-addr-updated
>
>
> Hadoop servers sockets are always binded on 0.0.0.0 ; this patch allow to specify a bind address.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-527) Allow to specify the bind address for all hadoop servers

Posted by "Philippe Gassmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-527?page=all ]

Philippe Gassmann updated HADOOP-527:
-------------------------------------

    Attachment: patch-bind-on-custom-addr-updated

Updated patch with old api marked as deprecated and config in hadoop-default.xml.

I found a parameter in haddop-default.xml that seems not to be used anymore in the java code : mapred.task.tracker.output.port.

I've done a grep "mapred.task.tracker.output.port" **/*.java (thanks zsh) in the whole source tree and the only result was : 
src/test/org/apache/hadoop/mapred/MiniMRCluster.java:                jc.setInt("mapred.task.tracker.output.port", taskTrackerPort++);

I think it should be removed from hadoop-default.xml

> Allow to specify the bind address for all hadoop servers
> --------------------------------------------------------
>
>                 Key: HADOOP-527
>                 URL: http://issues.apache.org/jira/browse/HADOOP-527
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.1.0, 0.2.0, 0.1.1, 0.3.0, 0.4.0, 0.2.1, 0.5.0, 0.3.1, 0.3.2, 0.6.0, 0.7.0, 0.6.1
>            Reporter: Philippe Gassmann
>         Attachments: patch-bind-on-custom-addr, patch-bind-on-custom-addr-updated
>
>
> Hadoop servers sockets are always binded on 0.0.0.0 ; this patch allow to specify a bind address.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-527) Allow to specify the bind address for all hadoop servers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-527?page=comments#action_12434801 ] 
            
Doug Cutting commented on HADOOP-527:
-------------------------------------

Overall this looks good.

The changes to Server.java and RPC.java should be back-compatible.  Instead of altering the signatures of existing public methods, please add new methods with the new signatures, then change the old methods to call the new methods with a default value for the new parameter.  The old methods can then be deprecated.  We try to avoid incompatible changes to public APIs.

Also, the new config file parameters should be added to hadoop-default.xml.

Thanks!

> Allow to specify the bind address for all hadoop servers
> --------------------------------------------------------
>
>                 Key: HADOOP-527
>                 URL: http://issues.apache.org/jira/browse/HADOOP-527
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.1.0, 0.2.0, 0.1.1, 0.3.0, 0.4.0, 0.2.1, 0.5.0, 0.3.1, 0.3.2, 0.6.0, 0.7.0, 0.6.1
>            Reporter: Philippe Gassmann
>         Attachments: patch-bind-on-custom-addr
>
>
> Hadoop servers sockets are always binded on 0.0.0.0 ; this patch allow to specify a bind address.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-527) Allow to specify the bind address for all hadoop servers

Posted by "Philippe Gassmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-527?page=all ]

Philippe Gassmann updated HADOOP-527:
-------------------------------------

    Attachment: patch-bind-on-custom-addr

> Allow to specify the bind address for all hadoop servers
> --------------------------------------------------------
>
>                 Key: HADOOP-527
>                 URL: http://issues.apache.org/jira/browse/HADOOP-527
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.1.0, 0.2.0, 0.1.1, 0.3.0, 0.4.0, 0.2.1, 0.5.0, 0.3.1, 0.3.2, 0.6.0, 0.7.0, 0.6.1
>            Reporter: Philippe Gassmann
>         Attachments: patch-bind-on-custom-addr
>
>
> Hadoop servers sockets are always binded on 0.0.0.0 ; this patch allow to specify a bind address.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira