hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijit Suresh Shingate (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (MAPREDUCE-3122) -libjars with streaming does not create symlink in the cwd of task
Date Fri, 30 Sep 2011 10:49:45 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Abhijit Suresh Shingate reassigned MAPREDUCE-3122:

    Assignee:     (was: Abhijit Suresh Shingate)
> -libjars with streaming does not create symlink in the cwd of task
> ------------------------------------------------------------------
>                 Key: MAPREDUCE-3122
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3122
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions:
>            Reporter: Ramya Sunil
> When libjars option is used with streaming, the symlink to the jar file is not created
in the working dir of the task. Any map/reduce tasks which uses this jar fails with NoClassDefFoundError
> For e.g:
> $ hadoop jar hadoop-streaming.jar -libjars /home/ramya/HelloWorld.jar -input input.txt
-output Out -mapper "mapper.sh" -reducer NONE -file /home/ramya/mapper.sh
> $ cat /home/ramya/mapper.sh
> #!/bin/sh
> cat &> /dev/null
> java -cp HelloWorld.jar HelloWorld
> $ java -cp /home/ramya/HelloWorld.jar HelloWorld
> Hello World

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message