hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4485) HDFS-347: DN should chmod socket path a+w
Date Fri, 08 Feb 2013 22:59:13 GMT

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

Aaron T. Myers commented on HDFS-4485:

Patch looks pretty good to me, and good idea to make that testing option configurable.

My only suggestion would be to add a little comment where you're doing the {{chmod}} to explain
why it's necessary, since it's not exactly obvious.

I'm +1 once this is addressed.
> 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

View raw message