HADOOP Procedure

PIG Statement

Submits Pig language code into a Hadoop cluster.
Submitting Pig Language Code

Syntax

Pig Code Options

CODE=fileref | 'external-file'
specifies the source that contains the Pig language code to execute.
fileref
is a SAS fileref that is assigned to the source file. To assign a fileref, use the FILENAME statement.
'external-file'
is the physical location of the source file. Include the complete pathname and the filename. Enclose the physical name in single or double quotation marks.
PARAMETERS=fileref | 'external-file'
specifies the source that contains parameters to be passed as arguments when the Pig code executes.
fileref
is a SAS fileref that is assigned to the source file. To assign a fileref, use the FILENAME statement.
'external-file'
is the physical location of the source file. Include the complete pathname and the filename. Enclose the physical name in single or double quotation marks.
REGISTERJAR='external-file(s)'
specifies the locations of the JAR files that contain the Pig scripts to execute. Include the complete pathname and the filename. Enclose each location in single or double quotation marks.