[
https://issues.apache.org/jira/browse/HDFS-4485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574958#comment-13574958
]
Todd Lipcon commented on HDFS-4485:
-----------------------------------
+ jthr = newException(env, "java/net/BindException",
+ "chmod(%s, 0666) failed: %s", terror(ret), addr.sun_path);
I think you reversed the order of your %s parameters here. Otherwise +1
> HDFS-347: DN should chmod socket path a+w
> -----------------------------------------
>
> Key: HDFS-4485
> URL: https://issues.apache.org/jira/browse/HDFS-4485
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Reporter: Todd Lipcon
> Assignee: Colin Patrick McCabe
> Priority: Critical
> Attachments: HDFS-4485.001.patch
>
>
> In cluster-testing HDFS-347, we found that in clusters where the MR job
> doesn't run as the same user as HDFS, clients wouldn't use short circuit read
> because of a 'permission denied' error connecting to the socket. It turns out
> that, in order to connect to a socket, clients need write permissions on the
> socket file.
> The DN should set these permissions automatically after it creates the socket.
--
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