You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Olaf Flebbe (JIRA)" <ji...@apache.org> on 2019/02/11 17:17:00 UTC
[jira] [Commented] (BIGTOP-3159) Failed to deploy Alluxio due to
Puppet compatibility issue
[ https://issues.apache.org/jira/browse/BIGTOP-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765177#comment-16765177 ]
Olaf Flebbe commented on BIGTOP-3159:
-------------------------------------
IMHO we should use the hiera way we use for hadoop : for instance
{code:java}
$hadoop_head_node = hiera("bigtop::hadoop_head_node")
{code}
Don't do the lookup in the template: do it in init.pp .
> Failed to deploy Alluxio due to Puppet compatibility issue
> ----------------------------------------------------------
>
> Key: BIGTOP-3159
> URL: https://issues.apache.org/jira/browse/BIGTOP-3159
> Project: Bigtop
> Issue Type: Sub-task
> Components: deployment
> Affects Versions: 1.3.0
> Reporter: Evans Ye
> Priority: Major
>
> The snippet to deploy Alluxio is not compatible under different Puppet versions. On CentOS 7 we have Puppet 3.X, and we got the error:
> {code}
> [mNotice: Roles to deploy: [alluxio-master, alluxio-worker, namenode, datanode][0m
> [1;31mError: Failed to parse template alluxio/alluxio-site.properties:
> Filepath: /usr/share/ruby/vendor_ruby/puppet/parser/scope.rb
> Line: 797
> Detail: undefined method `call_function' for #<Puppet::Parser::Scope:0x0000000386d370>
> on node de28276ab851.bigtop.apache.org[0m
> {code}
> The same deploy snippet works fine on Debian/Ubuntu, which has Puppet 4.X.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)