Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5473192B4 for ; Wed, 9 Mar 2016 21:54:41 +0000 (UTC) Received: (qmail 85932 invoked by uid 500); 9 Mar 2016 21:54:41 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 85833 invoked by uid 500); 9 Mar 2016 21:54:41 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 85792 invoked by uid 99); 9 Mar 2016 21:54:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2016 21:54:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 037BE2C1F6D for ; Wed, 9 Mar 2016 21:54:41 +0000 (UTC) Date: Wed, 9 Mar 2016 21:54:41 +0000 (UTC) From: "Xiaobing Zhou (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9427) HDFS should not default to ephemeral ports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15188123#comment-15188123 ] Xiaobing Zhou commented on HDFS-9427: ------------------------------------- Thanks everyone for the feedback. I posted V003 with the mapping: {noformat} Namenode ports ---------------- 50070 --> 9803 50470 --> 9804 Secondary NN ports --------------- 50090 --> 9805 50091 --> 9806 backup NN ports --------------- 50100 --> 9807 50105 --> 9808 Datanode ports --------------- 50010 --> 9809 50020 --> 9810 50075 --> 9811 50475 --> 9812 {noformat} 9803-9874 is a wider range unassigned, any upcoming ports can be fit into this range. > HDFS should not default to ephemeral ports > ------------------------------------------ > > Key: HDFS-9427 > URL: https://issues.apache.org/jira/browse/HDFS-9427 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode, hdfs-client, namenode > Affects Versions: 3.0.0 > Reporter: Arpit Agarwal > Assignee: Xiaobing Zhou > Priority: Critical > Labels: Incompatible > Attachments: HDFS-9427.000.patch, HDFS-9427.001.patch, HDFS-9427.002.patch, HDFS-9427.003.patch > > > HDFS defaults to ephemeral ports for the some HTTP/RPC endpoints. This can cause bind exceptions on service startup if the port is in use. -- This message was sent by Atlassian JIRA (v6.3.4#6332)