You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Lili Yu (JIRA)" <ji...@apache.org> on 2017/04/07 01:45:41 UTC
[jira] [Comment Edited] (PIG-5210) Option to print MR/Tez plan
before launching
[ https://issues.apache.org/jira/browse/PIG-5210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954525#comment-15954525 ]
Lili Yu edited comment on PIG-5210 at 4/7/17 1:45 AM:
------------------------------------------------------
There is a test case for MR/Tez.
For MR:
bin/pig {{-x local test.pig}}
For Tez:
bin/pig {{-x tez_local test.pig}}
was (Author: yulili):
This is a test case for MR/Tez.
For MR:
bin/pig -x local test.pig
For Tez:
bin/pig -x tez_local test.pig
> Option to print MR/Tez plan before launching
> --------------------------------------------
>
> Key: PIG-5210
> URL: https://issues.apache.org/jira/browse/PIG-5210
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.17.0
> Reporter: Lili Yu
> Assignee: Lili Yu
> Fix For: 0.17.0
>
> Attachments: PIG-5210-new.patch, screenshot MR plan.png, screenshot Tez Plan.png
>
>
> For pig script, users need to use {{pig -e "explain -script test.pig"}} to print out MR/Tez Plan. But for Python script, it is a hard thing for PIG to explain the plan automatically. This option can help to print out MR/Tez plan automatically before implementing MapReduce.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)