Apache Ambari Views
Also available as:
loading table of contents...

Writing Pig Scripts

Navigate to the Pig View instance Scripts page, and click New Script in the upper right corner of the window. Name the script in the New Script dialog box, click Create, and enter your script into the editor. After you have written the script, you can use the execute button on the upper right to run it. Check the box that is adjacent to the execute button to use Tez instead of the default MapReduce engine.

The following figure shows a running Pig script:

Figure 7.1. Pig Script Running in Pig View