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 "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2010/05/31 13:36:38 UTC

[jira] Created: (MAPREDUCE-1826) Passing a directory for -file option does not work as expected.

Passing a directory for -file option does not work as expected.
---------------------------------------------------------------

                 Key: MAPREDUCE-1826
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1826
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: contrib/streaming
    Affects Versions: 0.21.0
            Reporter: Amareshwari Sriramadasu


When I tried passing a directory through -file option, the contents of directory are added to the job jar, not the directory itself. After MAPREDUCE-967, because the contents of the passed directory are not added to the *jar unpack pattern*, the files/dirs inside the passed directory are not unjarred. Thus they are not symlinked from cwd of the task. 
Currently, there is no way for the user to access the files under the directory passed through -file option.

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