Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2835

puppet fails when bigtop::jdk_preinstalled is true

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: deployment
    • Labels:
      None

      Description

      If you set bigtop::jdk_preinstalled: True, puppet apply will fail like this:

      2017-07-07 15:19:52 INFO install Error: Could not find dependency Package[jdk] for Package[hadoop] at /home/ubuntu/bigtop.release/bigtop-1.2.0/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp:121
      

      This happens because BIGTOP-2775 creates a new jdk class that defines Package[jdk], yet this class is skipped if $jdk_preinstalled is True:

      https://github.com/apache/bigtop/commit/cd092d1bc9cf2fc884761e432a21fb859ecaa6ec#diff-27b652e96eb6e03f81c39224a2559db9R17

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kwmonroe Kevin W Monroe
                Reporter:
                kwmonroe Kevin W Monroe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: