hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Groschupf (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-120) support hadoop map reduce in loal mode
Date Thu, 28 Feb 2008 20:05:51 GMT

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

Stefan Groschupf commented on PIG-120:
--------------------------------------

I'm very sorry for the confusion.
In general *all the same tests run in every case* we just switch execution engines and execution
engine configurations. 
ant -Dtest.mode=excelLocal -> runs the pig local execution engine
ant -Dtest.mode=mapredLocal -> runs the hadoop execution engine but using the hadoops LocalJobRunner
-- this should be default, since the test suite would run in the less than 50 % of the time
ant -Dtest.mode=mapredCluster -> runs the hadoop execution egine with the minicluster.

My testcase only test if it is possible to set "local" as nameNode and jobtracker - nothing
else.

I guess we can find better names for the test modes. 

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


Mime
View raw message