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 6587010F7D for ; Tue, 24 Sep 2013 18:00:36 +0000 (UTC) Received: (qmail 71487 invoked by uid 500); 24 Sep 2013 18:00:07 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 71412 invoked by uid 500); 24 Sep 2013 18:00:06 -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 71384 invoked by uid 99); 24 Sep 2013 18:00:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 18:00:06 +0000 Date: Tue, 24 Sep 2013 18:00:06 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5237) Get rid of nodes' registration names 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-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776568#comment-13776568 ] Colin Patrick McCabe commented on HDFS-5237: -------------------------------------------- I'm not so sure that we need to remove this, now. If it's heavily used in unit tests, and also used by end-users in certain configurations, it's going to be an uphill battle. Validating it *sounds* like a good idea, but in practice it's going to add up to failing DN registrations if the reported hostname can't be resolved, which doesn't seem that friendly. DNS is sometimes unreliable like any other network service, after all. Why don't we add some JavaDoc to DatanodeID explaining the reasons why hostName may in fact not be a real host name? I also wonder why we need {{DatanodeID#peerHostName}}. It doesn't seem to be used anywhere, and it definitely muddies the waters in that class. > Get rid of nodes' registration names > ------------------------------------ > > Key: HDFS-5237 > URL: https://issues.apache.org/jira/browse/HDFS-5237 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Junping Du > Fix For: 3.0.0 > > Attachments: HDFS-5237.patch > > > Per discussion in HDFS-5208 and may be some other discussions before, Node's registration name is pretty confusing and shouldn't be used in production environment as topology resolving issues. So we remove related configuration dfs.datanode.hostname or its old one "slave.host.name". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira