Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31C5CD58F for ; Fri, 25 Jan 2013 00:45:16 +0000 (UTC) Received: (qmail 47337 invoked by uid 500); 25 Jan 2013 00:45:14 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 47248 invoked by uid 500); 25 Jan 2013 00:45:14 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 47190 invoked by uid 99); 25 Jan 2013 00:45:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 00:45:14 +0000 Date: Fri, 25 Jan 2013 00:45:14 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-4440) avoid annoying log message when dfs.domain.socket.path is not set 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-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers resolved HDFS-4440. ---------------------------------- Resolution: Fixed Hadoop Flags: Reviewed I've just committed this to the HDFS-347 branch. Thanks a lot for the contribution, Colin. > avoid annoying log message when dfs.domain.socket.path is not set > ----------------------------------------------------------------- > > Key: HDFS-4440 > URL: https://issues.apache.org/jira/browse/HDFS-4440 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, hdfs-client, performance > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Priority: Trivial > Attachments: HDFS-4440.001.patch > > > When dfs.domain.socket.path is not set, it gets set to the empty string. We should check if this conf key is the empty string in {{DomainSocketFactory}}, rather than checking against null as we currently do. Otherwise, we get annoying log messages about failing to connect to the UNIX domain socket at ''. -- 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