[ 
https://issues.apache.org/jira/browse/PIG-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939750#comment-13939750
 ] 

Rohini Palaniswamy commented on PIG-3815:
-----------------------------------------

Yes. It has been fixed 3 years ago. I am not sure what version of hadoop you 
are using and hitting this issue. But since we still support 0.20 as well there 
is no harm in doing .toUri().getPath() in pig as well. 

+1. Since the issue is not with hadoop 1.0, please update your comment when 
checking in this patch from  "// PIG-3815 In hadoop 1.0, addFileToClassPath 
uses : as separator" to say hadoop 0.20. 

> Hadoop bug causes to pig to fail silently with jar cache
> --------------------------------------------------------
>
>                 Key: PIG-3815
>                 URL: https://issues.apache.org/jira/browse/PIG-3815
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Aniket Mokashi
>            Assignee: Aniket Mokashi
>             Fix For: 0.13.0
>
>         Attachments: PIG-3815-1.patch, PIG-3815-2.patch, PIG-3815.patch
>
>
> Pig uses DistributedCache.addFileToClassPath api that puts jars on 
> distributed cache configuration. This uses : to separate list of files to be 
> put of classpath via distributed cache. If fs.default.name has port number in 
> it, it causes the tokenization logic to fail in hadoop for retrieving list of 
> cache filenames in backend.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to