Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3373

First deploy/launch of Pig job that includes yarn-site.xml file fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3 M1
    • Component/s: Batch
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            thomas.risberg Thomas Risberg
            Reporter:
            thomas.risberg Thomas Risberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: