I have created Oozie workflow for Hive and Pig action on Azure hortonworks cloudera But while running Oozie workflow Hive action run successfully but Pig action throws below error :
19/12/10 14:11:59 INFO client.RMProxy: Connecting to ResourceManager at bigdata-m0.xxxxxxx.cloudapp.net/10.0.0.7:8050
19/12/10 14:12:00 INFO client.AHSProxy: Connecting to Application History server at bigdata-m0.xxxx.cloudapp.net/10.0.0.7:10200
File /app-logs/hdfs/logs/application_15770947956_0159 does not exist.
Can not find any log file matching the pattern: [ALL] for the application: application_15770947956_0159
Can not find the logs for the application: application_15770947956_0159 with the appOwner: hdfs
When I run the pig script using 'pig -x tez -useHCatalog -f script.pig' then it run successfully but while running from Oozie workflow it throws above error so I added shell action before Pig action to give permission to the directory [/app-logs/hdfs/logs/] still it throws above error.