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 2017/05/24 23:04:05 UTC

[jira] [Updated] (PIG-4932) Cache files not loaded when using 'limit' operator

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

Rohini Palaniswamy updated PIG-4932:
------------------------------------
    Fix Version/s:     (was: 0.17.0)
                   0.18.0

> Cache files not loaded when using 'limit' operator
> --------------------------------------------------
>
>                 Key: PIG-4932
>                 URL: https://issues.apache.org/jira/browse/PIG-4932
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: hemanth meka
>            Assignee: Daniel Dai
>             Fix For: 0.18.0
>
>
> UDF in pig throws error when input is fed to the UDF after applying LIMIT operator. The UDF is not able to find the cache file when using LIMIT
> org.apache.pig.backend.executionengine.ExecException: ERROR 2078: Caught error from UDF: org.test.hadoop.pig.BagProcess [Caught exception: File './names_cache' does not exist]
> By removing the LIMIT and directly feeding the input to UDF it runs fine. LIMIT operator seems to not load the cache files causing the issue. I was able to regenerate this on two different cluster running 0.14.0 version of hive



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)