Monday, June 08, 2009

Dryrun in Pig for debugging purposes

It is hard to debug pig scripts as the debug mechanism is not friendly. To see the parameters that we are passing via command line or by executing another script (bash,perl) - we can use dryrun option. but, I always forget whether it is dry-run or dryrun. It is dryrun and the way to use it is

bin/pig -dryrun /scriptName

No comments: