Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13203

Ambari Pig View - Explain PigScript - Script Details - Shows the pig command instead of pig script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.0
    • 2.1.2
    • 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

        1. AMBARI-13203_branch-2.1.patch
          2 kB
          Nitiraj Singh Rathore

        Issue Links

          Activity

            People

              nitiraj.rathore Nitiraj Singh Rathore
              nitiraj.rathore Nitiraj Singh Rathore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: