You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2020/09/14 09:46:10 UTC

[GitHub] [bigtop] guyuqi opened a new pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

guyuqi opened a new pull request #671:
URL: https://github.com/apache/bigtop/pull/671


   Enable Centos-8 docker image on Arm64.
   Modify Puppet modulepath for puppetlabs-4.12 to fix issue :`'Unknown function: 'any2array'`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] guyuqi merged pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

Posted by GitBox <gi...@apache.org>.
guyuqi merged pull request #671:
URL: https://github.com/apache/bigtop/pull/671


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] guyuqi commented on pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

Posted by GitBox <gi...@apache.org>.
guyuqi commented on pull request #671:
URL: https://github.com/apache/bigtop/pull/671#issuecomment-692575951


   Please forgive that maybe I misunderstand the way how to run the `puppetize.sh`.
   I run the `puppetize.sh` by invoking [build.sh](https://github.com/apache/bigtop/blob/master/docker/bigtop-puppet/build.sh).
   It shows the `ENV PATH`sould be set in centos-8:
   ```
   ENV_PATH=""
   if [ ${OS} = "centos" -a ${VERSION} -ge 8 ]; then
     ENV_PATH='ENV PATH /opt/puppetlabs/bin:$PATH'
   fi
   ```
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] guyuqi commented on pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

Posted by GitBox <gi...@apache.org>.
guyuqi commented on pull request #671:
URL: https://github.com/apache/bigtop/pull/671#issuecomment-692619908


   Update the puppetlibs-4.12's modulepath into build.gradle.
   Confirmed that `./gradlew toolchain` was successfully built on Ubuntu18.04, Debian10, Centos8 and Fedora31 for both x86 and Arm64.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] sekikn commented on pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #671:
URL: https://github.com/apache/bigtop/pull/671#issuecomment-693023101


   +1, I confirmed the following on an x86_64 machine:
   
   * `./build.sh trunk-centos-8` (and centos-7 for regression purpose) in docker/bigtop-slaves succeeded.
   * `sudo bigtop_toolchain/bin/puppetize.sh; ./gradlew toolchain` on CentOS 8 (and a few other distros) succeeded. In addition, packaging and deploying hadoop with the combination of puppet 6.17.0 and the existing manifest also succeeded.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] sekikn commented on pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #671:
URL: https://github.com/apache/bigtop/pull/671#issuecomment-692563160


   I tried the PR with CentOS 8 on x86_64 and came across the following error:
   
   ```
   $ sudo bigtop_toolchain/bin/puppetize.sh 
   
   (snip)
   
   /etc/puppetlabs/code/modules
   └── puppetlabs-stdlib (v4.12.0)
   $ ./gradlew toolchain
   
   (snip)
   
   Error: Evaluation Error: Unknown function: 'concat'. (file: /home/vagrant/bigtop/bigtop_toolchain/manifests/packages.pp, line: 70, column: 17) on node centos8.localdomain
   
   > Task :toolchain FAILED
   ```
   
   I've not tried it on arm64 yet, but it seems to be required to add `/etc/puppetlabs/code/modules` to the modulepath in build.gradle (or replace `/etc/puppetlabs/code/environments/production/modules` with it) at least for x86_64.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] guyuqi commented on pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

Posted by GitBox <gi...@apache.org>.
guyuqi commented on pull request #671:
URL: https://github.com/apache/bigtop/pull/671#issuecomment-692577471


   Let me try to add the modulepath in build.gradle.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bigtop] guyuqi commented on pull request #671: BIGTOP-3401: Failed to build Centos-8 docker images for Arm64

Posted by GitBox <gi...@apache.org>.
guyuqi commented on pull request #671:
URL: https://github.com/apache/bigtop/pull/671#issuecomment-691952562


   Confirmed that Centos-8 docker images(`bigtop/puppet` and `bigtop/slaves`) could be successfully built both on x86 and Arm64.
   It's also ok for provisioner depolyment on x86 and Arm64. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org