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/19 00:22:39 UTC

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

Rohini Palaniswamy created PIG-4465:
---------------------------------------

             Summary: 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


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)