You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2015/03/20 16:10:40 UTC
[jira] [Updated] (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:all-tabpanel ]
Rohini Palaniswamy updated PIG-4465:
------------------------------------
Status: Patch Available (was: Open)
> 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)