Deploying and launching a Pig job that contains a yarn-site.xml config file fails on the first deploy after XD starts up. This happens consistently.
The error is:
Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
which indicates that the yarn-site.xml file never made it to the classpath.
Un-deploying and re-deploying the job seems to fix the problem.