GitHub user zjffdu reopened a pull request:

    ZEPPELIN-335. Pig Interpreter

    ### What is this PR for?
    Based on #338 , I refactor most of pig interpreter. As I don't think the 
approach in #338 is the best approach. In #338, we use script `bin/pig` to 
launch pig script, it is different to control that job (hard to kill and get 
progress and stats info).  In this PR, I use pig api to launch pig script. 
Besides that I implement another interpreter type `%pig.query` to leverage the 
display system of zeppelin. For the details you can check ``
    ### What type of PR is it?
    ### Todos
    * Syntax Highlight
    * new interpreter type `%pig.udf`, so that user can write pig udf in 
zeppelin directly and don't need to build udf jar manually.
    ### What is the Jira issue?
    ### How should this be tested?
    Unit test is added and also manual test is done
    ### Screenshots (if appropriate)
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No

You can merge this pull request into a Git repository by running:

    $ git pull ZEPPELIN-335

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1476
commit 7abad201a63df51d04326231cbf429122540e311
Author: Ali Bajwa <>
Date:   2015-10-06T05:40:06Z

    initial commit of pig interpreter

commit 2586336e44982ac3c92156c24a288c540792d0c5
Author: Ali Bajwa <>
Date:   2015-10-06T06:25:47Z

    exposed timeout and pig executable via interpreter and added comments

commit c28beb588922a5edbc9d5db3336bbdba9a22c3a1
Author: Ali Bajwa <>
Date:   2015-10-07T05:02:18Z

    Updated based on comments:
    1. Documentation: added with interpreter documentation and added pig 
entry to
    2. Added test junit test based on passwd file parsing example here
    3. Removed author tag from comment (this was copied from shell interpreter
    4. Implemented cancel functionality
    5. Display output stream in case of error

commit a09a7f78c6f72cf8bf5623a55c71cc06141671aa
Author: Jeff Zhang <>
Date:   2016-09-28T11:41:24Z

    refactor pig Interpreter

commit 05a3b9b0a76423660497dfb92cf773cec1687871
Author: Jeff Zhang <>
Date:   2016-10-08T03:45:22Z


commit 39f161a36aad72c590a2feef4c8f7b4afefe72ec
Author: Jeff Zhang <>
Date:   2016-10-08T08:09:33Z

    address comments

commit 5e2e222555dabfb66a7981e5d7d0d0f659ca1144
Author: AhyoungRyu <>
Date:   2016-10-09T12:35:07Z

    Minor update for

commit df7a6db47ca2db5b8d3ed625000d6a25f035a8e5
Author: AhyoungRyu <>
Date:   2016-10-09T12:35:25Z

    Add to dropdown menu

commit fe014a72b445f6977d00356bfe780c40dade0167
Author: AhyoungRyu <>
Date:   2016-10-09T12:39:41Z

    Fix docs title in front matter

commit 1ae7db21a32f12ce139277a8dca4e61cd391bced
Author: Jeff Zhang <>
Date:   2016-10-09T13:23:07Z

    Merge pull request #2 from AhyoungRyu/ZEPPELIN-335/docs
    [ZEPPELIN-335][DOCS] Minor update for

commit 58b4b2f26dd8f852d453854a37764a824903d9cd
Author: Jeff Zhang <>
Date:   2016-10-09T13:28:41Z

    minor update of docs

commit c85a09031a49add7f48114afe3ea43e4b572b0f2
Author: Jeff Zhang <>
Date:   2016-10-09T23:45:03Z

    add license

commit e858301bdfcac727fea8ef306f42ecd252ddfe94
Author: Jeff Zhang <>
Date:   2016-10-10T00:27:08Z

    address comments

commit a1b742bceeff34aad1196ce2de9235810b4ce961
Author: Jeff Zhang <>
Date:   2016-10-10T07:42:30Z

    minor update on doc


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to