This problem has been resolved by inserting the SET mapreduce.job.reduces=1.But now i am getting different error i.e
.<<< Invocation of Main class completed <<<
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.Hive2Main], exit code [2]
Oozie Launcher failed, finishing Hadoop job gracefully