[ 
https://issues.apache.org/jira/browse/HDFS-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562217#comment-13562217
 ] 

Aaron T. Myers commented on HDFS-4440:
--------------------------------------

+1, patch looks good to me. I'm going to commit this momentarily.
                
> 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

Reply via email to