ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitiraj Singh Rathore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-13203) Ambari Pig View - Explain PigScript Script Content - Shows the pig command instead of pig script
Date Wed, 23 Sep 2015 13:16:04 GMT

     [ 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 Content - Shows the pig command instead
of pig script  (was: Pig View Automation - Explain PigScript Script Content - Shows the pig
command instead of pig script)

> Ambari Pig View - Explain PigScript Script Content - 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)

Mime
View raw message