You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Submitting Pig Language Code<br />
The Apache Pig language is a high-level programming language that creates MapReduce<br />
programs that are used with Hadoop.<br />
The PROC HADOOP PIG statement submits Pig language code into a Hadoop cluster.<br />
See “PIG Statement” on page 26.<br />
Syntax: HADOOP Procedure<br />
Restriction: PROC HADOOP is supported in the Microsoft Windows and Linux 64-bit operating<br />
environments only.<br />
Requirement: JRE 1.6<br />
PROC HADOOP ;<br />
HDFS ;<br />
MAPREDUCE ;<br />
PIG ;<br />
Statement Task Example<br />
“PROC<br />
HADOOP<br />
Statement”<br />
“HDFS<br />
Statement”<br />
“MAPREDUCE<br />
Statement”<br />
PROC HADOOP Statement<br />
Controls access to the Hadoop server.<br />
Control access to the Hadoop server Ex. 1, Ex. 2,<br />
Ex. 3<br />
Submit HDFS (Hadoop Distributed File System)<br />
commands<br />
Ex. 1<br />
Submit MapReduce programs into a Hadoop cluster Ex. 2<br />
“PIG Statement” Submit Pig language code into a Hadoop cluster Ex. 3<br />
Syntax<br />
PROC HADOOP ;<br />
PROC HADOOP Statement 23<br />
Hadoop Server Options<br />
These options control access to the Hadoop server and can be specified on all HADOOP<br />
procedure statements.