Pig script written for UCSCX Hadoop class