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

Pi Song commented on PIG-120:
-----------------------------

+1  with the concept. Allowing Hadoop local execution mode will be very 
beneficial for testing with a subset of data before going into production. 
Theoretically outputs from Pig local and Hadoop Mapreduce should be exactly the 
same but sometimes I found that they are different. In such case, I would trust 
local hadoop more than Pig local for my development.

So, from the patch, if I want to run local hadoop Pig, I just have to set  
cluster and nameNode properties to "local" right?

> support hadoop map reduce in loal mode
> --------------------------------------
>
>                 Key: PIG-120
>                 URL: https://issues.apache.org/jira/browse/PIG-120
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Stefan Groschupf
>         Attachments: PIG-120_v_1.patch
>
>
> Currently pig support mapreduce and local as execution modes. 
> LocalExecutionEngine is used for local and HExecutionEngine for map reduce. 
> HExecutionEngine always expect that hadoop runs as cluster with a name node 
> and jobtracker listing on a port. 
> Though, hadoop can also run in a local mode (LocalJobRunner) this would give 
> several advantages. 
> First it would speed up the test suite significant. Second it would be 
> possible to debug map reduce plans easily.
> For example we was able to debug and reproduce PIG-110 with this method.

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