Tutorial > HBase Client > Run Pig Latin Scripts


1. After connecting to the HBase, click HBase node,the root of the htable tree.

2. Click tab “Pig”

3. You can see the UI as below and please input parameters for running pig. After that, remember to press the “Save” button.

Run Pig

The example below is for HDFS file.
(reference: http://pig.apache.org/docs/r0.10.0/basic.html)

The example below is for HBase table.
(reference: http://pig.apache.org/docs/r0.10.0/basic.html)

Save File

If you want to save the scripts you just type, you can click button “Save File”.

Open File

Of course, you can open a script file through clicking button “Open File”.