Uploaded image for project: 'Cookbooks'
  1. Cookbooks
  2. COOK-30

JHS execute blocks can cause Mapreduce to fail

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: hadoop
    • Labels:
      None
    • Rank:
      1|hzyq1r:

      Description

      Guards are honored in Chef when a wrapper uses .run_action on a resource. For execute blocks, this can prevent otherwise idempotent blocks from executing correctly.

      For example:

      • Execute mapreduce-jobhistory-done-dir creates /tmp/hadoop-yarn/staging/history/done
      • Execute yarn-app-mapreduce-am-staging-dir creates /tmp/hadoop-yarn/staging, but only if it doesn't exist

      In this case, the yarn.app.mapreduce.am.staging-dir doesn't get its proper permissions set.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris Chris Gianelloni
                Reporter:
                chris Chris Gianelloni
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: