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] [Created] (AMBARI-13203) Pig View Automation - Explain PigScript "Script Content - Shows the pig command in-spite of pig script
Date Wed, 23 Sep 2015 11:43:04 GMT
Nitiraj Singh Rathore created AMBARI-13203:
----------------------------------------------

             Summary: Pig View Automation - Explain PigScript "Script Content - Shows the
pig command in-spite 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


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