3.1. 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 5.7. Pig Script Running in the Pig View



loading table of contents...