I am using Hortonworks Data cloud on AWS. I am trying to execute pig script from oozie workflow. while I execute the workflow it throws the error: Main class [org.apache.oozie.action.hadoop.PigMain], exit code 
The PIG script:
A = LOAD '/ooziejob/input/data.csv' USING PigStorage(',') AS(id:chararray,name:chararray,city:chararray); store A into '/ooziejob/output/';
I have attached the job.xml file.
I am new to oozie. please help me to get over this issue.