-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIGTOP-3356: Add CentOS 8 support to the Docker provisioner #640
Conversation
@sekikn I got the following error on provisioning with the patch and
|
After I fixed the yum-config-manager part, I got the another error. Installing
|
@sekikn Sorry, the cause of the error was that I did not update docker image by build.sh. |
Hmm... starting services by |
adding /sys/fs/cgroup to volumes worked for me to fix the
|
Great, will try it locally. Thanks! |
@iwasakims Can you share some technical reference to this. Thanks! |
@evans-ye The background is similar to BIGTOP-3302. systemd added check to see if service process belongs to the service as a fix for CVE-2018-16888. The check uses cgroups.
If cgroups info is not available, init script fails with following message, indicating failure of checking added by the systemd/systemd#6632.
|
Thanks @iwasakims, I also confirmed your fix worked well. I updated the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. ./docker-hadoop.sh -c 1 --smoke-tests
worked on my local with following config.yaml (and fix of #642 for hadoop installation).
docker:
memory_limit: "8g"
image: "bigtop/puppet:trunk-centos-8"
distro: centos
components: [hdfs, yarn, mapreduce]
enable_local_repo: true
smoke_test_components: [hdfs, yarn, mapreduce]
Provisioning bigtop/puppet:trunk-centos-7 on CentOS 7 worked as before with this patch.
Thanks! Merged into master. |
The investigation is informative. Thanks @iwasakims. |
No description provided.