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

Pradeep Kamath updated PIG-1323:
--------------------------------

    Attachment: PIG-1323.patch

Attached patch addresses the issue in the description by setting state in the 
Configuration depending on where in PigInputFormat the LoadFunc.setLocation() 
method is called. No tests are includes since testing this in a unit test 
framework is not feasible - I have manually tested this.

> Communicate whether the call to LoadFunc.setLocation is being made in 
> hadoop's front end or backend
> ---------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1323
>                 URL: https://issues.apache.org/jira/browse/PIG-1323
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Pradeep Kamath
>            Assignee: Pradeep Kamath
>             Fix For: 0.7.0
>
>         Attachments: PIG-1323.patch
>
>
> Loaders which interact with external systems like a metadata server may need 
> to know if the LoadFunc.setLocation call happens from the frontend (on the 
> client machine) or in the backend (on each map task). The Configuration in 
> the Job argument to setLocation() can contain this information.

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

Reply via email to