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 34A8118B39 for ; Mon, 22 Feb 2016 04:52:19 +0000 (UTC) Received: (qmail 54351 invoked by uid 500); 22 Feb 2016 04:52:18 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 53995 invoked by uid 500); 22 Feb 2016 04:52:18 -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 53956 invoked by uid 99); 22 Feb 2016 04:52:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 04:52:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 36D042C1F57 for ; Mon, 22 Feb 2016 04:52:18 +0000 (UTC) Date: Mon, 22 Feb 2016 04:52:18 +0000 (UTC) From: "Vinayakumar B (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=15156476#comment-15156476 ] Vinayakumar B commented on HDFS-9427: ------------------------------------- Following are also falls in same range {code} int DFS_NAMENODE_HTTP_PORT_DEFAULT = 50070; String DFS_NAMENODE_HTTP_ADDRESS_KEY = "dfs.namenode.http-address"; int DFS_NAMENODE_HTTPS_PORT_DEFAULT = 50470; String DFS_NAMENODE_HTTPS_ADDRESS_KEY = "dfs.namenode.https-address"; {code} How about changing into something like below? Just replace {{50}} with {{9}} {code} Namenode ports ---------------- 50070 --> 9070 50470 --> 9470 Datanode ports --------------- 50010 --> 9010 50020 --> 9020 50075 --> 9075 50475 --> 9475 Secondary NN ports --------------- 50090 --> 9090 50091 --> 9091 {code} > 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, namenode > Affects Versions: 3.0.0 > Reporter: Arpit Agarwal > Assignee: Xiaobing Zhou > Priority: Critical > Labels: Incompatible > > 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)