You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2015/03/20 18:15:38 UTC

[jira] [Commented] (PIG-4465) Pig streaming ship on Tez needs to trim file name

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

Daniel Dai commented on PIG-4465:
---------------------------------

+1

> Pig streaming ship on Tez needs to trim file name
> -------------------------------------------------
>
>                 Key: PIG-4465
>                 URL: https://issues.apache.org/jira/browse/PIG-4465
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: 0.15.0
>
>         Attachments: PIG-4465-1.patch
>
>
> DEFINE MyScript `python script.py` ship('script.py'); causes
> {code}
> Caused by: java.io.FileNotFoundException: File
> /home/username/pig/ script.py does not exist
>     at
> org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:534)
>     at
> org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:747)
>     at
> org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:524)
>     at
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:416)
>     at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337)
>     at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1934)
>     at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1902)
>     at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1867)
>     at
> org.apache.pig.backend.hadoop.executionengine.tez.TezResourceManager.addTezResource(TezResourceManager.java:83)
>     at
> org.apache.pig.backend.hadoop.executionengine.tez.TezJobCompiler.getJob(TezJobCompiler.java:95)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)