Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1.0
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- links to