You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nitiraj Singh Rathore (JIRA)" <ji...@apache.org> on 2015/09/23 15:16:04 UTC

[jira] [Updated] (AMBARI-13203) Ambari Pig View - Explain PigScript - Script Details - Shows the pig command instead of pig script

     [ https://issues.apache.org/jira/browse/AMBARI-13203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nitiraj Singh Rathore updated AMBARI-13203:
-------------------------------------------
    Summary: Ambari Pig View - Explain PigScript - Script Details - Shows the pig command instead of pig script  (was: Ambari Pig View - Explain PigScript Script Content - Shows the pig command instead of pig script)

> Ambari Pig View - Explain PigScript - Script Details - Shows the pig command instead of pig script
> --------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13203
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13203
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Nitiraj Singh Rathore
>            Assignee: Nitiraj Singh Rathore
>            Priority: Critical
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-13203_branch-2.1.patch
>
>
> Create a PIG instance from Ambari UI. 
> Open the pig view and create a new pig script.
> Add the following content in Pig View editor
> "
> lines = LOAD '/tmp/hdfs_test_files_in/wordcount' AS (line:chararray);
> words = FOREACH lines GENERATE FLATTEN(TOKENIZE(line)) as word;
> grouped = GROUP words BY word;
> wordcount = FOREACH grouped GENERATE group, COUNT(words);
> DUMP wordcount;
> "
> Execute Explain Command on this script. Allow the script to get completed
> Expand Script Details Section.
> The script contents section contains the command execute on command prompt. 
> It should contain the script executed as part of explain.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)