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

Feng Peng commented on PIG-3222:
--------------------------------

[~daijy], I am using a simple wrapper for HCatStorer (similar to the attached 
PigStorerDemo.java, will attach the exact code later) so that we can separate 
the function calls by different instantiations.

In setStoreLocation(testdb.samples,Job@1817929566), "testdb.samples" is the 
location string. In my trace, the values in the () are the parameters for the 
call. The left most [N] indicates the unique instantiation id.

Let me rerun the query using HCatStorer directly to reproduce the issue.
                
> New UDFContextSignature assignments in Pig 0.11 breaks HCatalog.HCatStorer 
> ---------------------------------------------------------------------------
>
>                 Key: PIG-3222
>                 URL: https://issues.apache.org/jira/browse/PIG-3222
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.11
>            Reporter: Feng Peng
>              Labels: hcatalog
>         Attachments: hcat.trace, PigStorerDemo.java
>
>
> Pig 0.11 assigns different UDFContextSignature for different invocations of 
> the same load/store statement. This change breaks the HCatStorer which 
> assumes all front-end and back-end invocations of the same store statement 
> has the same UDFContextSignature so that it can read the previously stored 
> information correctly.
> The related HCatalog code is in 
> https://svn.apache.org/repos/asf/incubator/hcatalog/branches/branch-0.5/hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatStorer.java
>  (the setStoreLocation() function).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to