You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2005/10/03 22:44:47 UTC

[jira] Commented: (NUTCH-99) ports are hardcoded or random

    [ http://issues.apache.org/jira/browse/NUTCH-99?page=comments#action_12331220 ] 

Doug Cutting commented on NUTCH-99:
-----------------------------------

I like  the cleanup of the port numbers.  And removing the use of random port numbers may make some network administrators happy.  But switching from random to fixed ports in the TaskTracker means that only a single task tracker can be run at a time.  Currently I frequently find it useful to debug things by running multiple task trackers on a single box.

So we need to either loop, trying a range of port numbers, or switch back to random allocation, or both (since random allocations may collide).

According to the IANA, we should be able to randomly allocate stuff in 49152-65535.  But that still could make folks upset who wish to set up restrictive firewalls.




> ports are hardcoded or random
> -----------------------------
>
>          Key: NUTCH-99
>          URL: http://issues.apache.org/jira/browse/NUTCH-99
>      Project: Nutch
>         Type: Bug
>     Versions: 0.8-dev
>     Reporter: Stefan Groschupf
>     Priority: Critical
>      Fix For: 0.8-dev
>  Attachments: port_patch.txt, port_patch_02.txt
>
> Ports of tasktracker are random and the port of the datanode is hardcoded to 7000 as strting port.

-- 
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