You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2020/05/19 16:17:00 UTC

[jira] [Created] (BIGTOP-3356) Add CentOS 8 support to the Docker provisioner

Kengo Seki created BIGTOP-3356:
----------------------------------

             Summary: Add CentOS 8 support to the Docker provisioner
                 Key: BIGTOP-3356
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3356
             Project: Bigtop
          Issue Type: Sub-task
          Components: docker, provisioner
            Reporter: Kengo Seki
            Assignee: Kengo Seki


1. The puppet package provided by puppetlabs installs the puppet command into /opt/puppetlabs/bin, so we have to append it to the container's PATH environment variable. Without that, provisioner fails with a "command not found" error.

2. {{puppet module install}} installs a module to /etc/puppetlabs/code/environments/production/modules by default in the case of puppetlabs' one ([https://puppet.com/docs/puppet/5.5/modules_installing.html#concept-5452]). So we have to add it to the {{--modulepath}} option in docker-hadoop.sh. Without that, provisioner fails with the following error.
{code:java}
Error: Evaluation Error: Unknown function: 'any2array'. (file: /bigtop-home/bigtop-deploy/puppet/manifests/bigtop_repo.pp, line: 20, column: 25) on node 31aac35f86a7.bigtop.apache.org
{code}
3. Provisioner copies hiera.yaml to /etc/puppet in the container via docker-compose, but it's not included in Hiera's lookup path ([https://puppet.com/docs/puppet/5.5/hiera_automatic.html#puppet_lookup]). We have to specify the {{--hiera_config}} option explicitly when running {{puppet apply}}. Without that, it fails with the following error.
{code:java}
Error: Function lookup() did not find a value for the name 'bigtop::hadoop_head_node'
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)