You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2012/06/08 23:41:23 UTC
[jira] [Commented] (MAPREDUCE-3700) If a resource in job.jar start
with ./, we cannot get it in the backend
[ https://issues.apache.org/jira/browse/MAPREDUCE-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292007#comment-13292007 ]
Rohini Palaniswamy commented on MAPREDUCE-3700:
-----------------------------------------------
Registering even with absolute path does not work.
> If a resource in job.jar start with ./, we cannot get it in the backend
> -----------------------------------------------------------------------
>
> Key: MAPREDUCE-3700
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3700
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
>
> When testing Pig on hadoop23, I find if Pig register a script start with ./, it fails. The same script success on 20.x clusters.
> For example, here is a resource in job.jar:
> jar tvf /var/folders/Rq/RqKCrqeVEoahpTBMcvLV1E+++TI/-Tmp-/Job6041588317527904436.jar|grep scriptingudf
> 1656 Thu Jan 19 15:49:42 PST 2012 ./libexec/python/scriptingudf.py
> Here is the code we try to get the resource in map:
> some_pig_object.class.getResourceAsStream("./libexec/python/scriptingudf.py");
--
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