pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lili Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PIG-5210) Option to print MR/Tez plan before launching
Date Fri, 07 Apr 2017 01:45:41 GMT

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

Mime
View raw message