add pig jobs and fix error in hadoop jobs