You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Chris Dyer (JIRA)" <ji...@apache.org> on 2009/09/14 22:28:57 UTC

[jira] Created: (MAPREDUCE-978) -file option in streaming does not preserve execute permissions

-file option in streaming does not preserve execute permissions
---------------------------------------------------------------

                 Key: MAPREDUCE-978
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-978
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: contrib/streaming
            Reporter: Chris Dyer


For a streaming application I used the -file option to move some executable files to the slave nodes.  On the submit node, they had +x permissions but on the destination node they were created with -x permissions.  This probably has to do with the umask settings on the various nodes, but streaming should preserve the original permissions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAPREDUCE-978) -file option in streaming does not preserve execute permissions

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu resolved MAPREDUCE-978.
-----------------------------------------------

    Resolution: Invalid

Files passed using -file option are packaged into a jar and unjarred on the computing node. So, it wont preserve the execute permissions on the file.

> -file option in streaming does not preserve execute permissions
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-978
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-978
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/streaming
>            Reporter: Chris Dyer
>
> For a streaming application I used the -file option to move some executable files to the slave nodes.  On the submit node, they had +x permissions but on the destination node they were created with -x permissions.  This probably has to do with the umask settings on the various nodes, but streaming should preserve the original permissions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.