EMR cli tool provides two ways of passing arguments to a Pig script :
--args "arg1,arg2,arg3,...."
--arg arg1 --arg arg2 ...
Pig arguments are usually of the form:
-f SCRIPT_URI
-p VAR=VALUE
EmrMonitoring is currently only able to parse options specified through the --args -p,VAR1=VALUE1,-p,VAR2=VALUE2 --args -p,VAR3=VALUE3
It should also be able to parse the --arg ... options.