You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2013/01/25 01:45:14 UTC

[jira] [Resolved] (HDFS-4440) avoid annoying log message when dfs.domain.socket.path is not set

     [ 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