The Pig Editor application allows you to define Pig scripts, run scripts,
and view the status of jobs. For information about Pig, see Pig Documentation.
Pig Editor Installation and Configuration
Pig Editor is one of the applications installed as part of Hue.
Starting Pig Editor
Click the Pig Editor icon () in the navigation bar at the top of the Hue
browser page. The Pig Editor opens with three tabs:
Editor - editor where you can create, edit, run, save, copy, and
delete scripts and edit script properties.
Scripts - script manager where you can create, open, run, copy,
and delete scripts.
Dashboard - dashboard where you can view running and completed
scripts and view the log of a job.
Installing the Sample Pig Scripts
Note: You must be a superuser to perform this task.
Click . The Quick Start Wizard opens.
Click Step 2:
Examples.
Click Pig Editor.
Scripts
Creating a Script
In either the Editor or Scripts screen, click New
script. Edit the script as desired.
Click Edit
Properties. In the Script name field, type a name for the script.
Click Save.
Opening a Script
Click the Scripts tab.
In the list of scripts, click a script.
Running a Script
Do one of the following:
In the Editor screen, click the Run button.
In the Scripts screen, check the checkbox next to a script and click the
Run button.