You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/07 16:09:00 UTC
[jira] [Commented] (BIGTOP-2835) puppet fails when
bigtop::jdk_preinstalled is true
[ https://issues.apache.org/jira/browse/BIGTOP-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078299#comment-16078299 ]
ASF GitHub Bot commented on BIGTOP-2835:
----------------------------------------
GitHub user kwmonroe opened a pull request:
https://github.com/apache/bigtop/pull/251
BIGTOP-2835: puppet fails when bigtop::jdk_preinstalled is true
Many modules require `Package["jdk"]`. Ensure it is available regardless of the `bigtop::jdk_preinstalled` option. Modify the jdk class so the package resources perform a no-op if `bigtop::jdk_preinstalled` is true.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/juju-solutions/bigtop bug/BIGTOP-2835/fix-jdk_preinstalled
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bigtop/pull/251.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #251
----
commit 68d8aed511d035378d10aff03baa9c12b56816b7
Author: Kevin W Monroe <ke...@canonical.com>
Date: 2017-07-07T16:02:47Z
BIGTOP-2835: puppet fails when bigtop::jdk_preinstalled is true
Many modules require Package["jdk"]. Ensure it is available regardless
of the bigtop::jdk_preinstalled option. Modify the jdk class so the
package resources perform a no-op if bigtop::jdk_preinstalled is true.
----
> puppet fails when bigtop::jdk_preinstalled is true
> --------------------------------------------------
>
> Key: BIGTOP-2835
> URL: https://issues.apache.org/jira/browse/BIGTOP-2835
> Project: Bigtop
> Issue Type: Bug
> Components: deployment
> Affects Versions: 1.2.0, 1.2.1
> Reporter: Kevin W Monroe
> Assignee: Kevin W Monroe
>
> If you set {{bigtop::jdk_preinstalled: True}}, puppet apply will fail like this:
> {noformat}
> 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
> {noformat}
> 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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)