pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (PIG-1653) Scripting UDF fails if the path to script is an absolute path
Date Mon, 04 Oct 2010 18:43:35 GMT

     [ https://issues.apache.org/jira/browse/PIG-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olga Natkovich reassigned PIG-1653:
-----------------------------------

    Assignee: Daniel Dai

> Scripting UDF fails if the path to script is an absolute path
> -------------------------------------------------------------
>
>                 Key: PIG-1653
>                 URL: https://issues.apache.org/jira/browse/PIG-1653
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.8.0
>
>
> The following script fail:
> {code}
> register '/homes/jianyong/pig/aaa/scriptingudf.py' using jython as myfuncs;
> a = load '/user/pig/tests/data/singlefile/studenttab10k' using PigStorage() as (name,
age, gpa:double);
> b = foreach a generate myfuncs.square(gpa);
> dump b;
> {code}
> If we change the register to use relative path (such as "aaa/scriptingudf.py"), it success.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message