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

Jonathan Hsieh commented on HBASE-10123:
----------------------------------------

tl;dr Based on stack's link I'm going to move 60xxx ports to 16xxx ports. 

Stack's link basically states the comment ephemeral port ranges:
BSD - 1-1023 reserved. 1024-4999 ephemeral. Others feel 49152-65535 are 
ephemeral
AIX - 32768-65535 ephemeral.
HPUX - 49152-65535 ephemeral.
Linux 2.2 - 1024-4999 ephemeral.
Linux 2.4 - 32768-61000 ephmeral.
openBSD - 32786-49151 or 49152-65535 ephemeral
solaris - 32768-65535 ephemeral.
tru64 unix - 1024-4999 ephemeral.
windows 2k8- 49152-65535

basically means we are safe anywhere between 5000-32768.

Looking at my /etc/services (ubuntu 10.04], big blocks that seem untouched 
include
12xxx, 14xxx, 16xxx, 18xxxx-19xxx, 21xxx, 23xxx, 26xxx, 28xxx-32768

> Change default ports; move them out of linux ephemeral port range
> -----------------------------------------------------------------
>
>                 Key: HBASE-10123
>                 URL: https://issues.apache.org/jira/browse/HBASE-10123
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.1.1
>            Reporter: stack
>            Priority: Critical
>             Fix For: 0.98.0
>
>
> Our defaults clash w/ the range linux assigns itself for creating come-and-go 
> ephemeral ports; likely in our history we've clashed w/ a random, short-lived 
> process.  While easy to change the defaults, we should just ship w/ defaults 
> that make sense.  We could host ourselves up into the 7 or 8k range.
> See http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to