You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "masatana (via GitHub)" <gi...@apache.org> on 2024/11/10 08:54:02 UTC
[PR] BIGTOP-4261. Provide systemd service unit files(Deb): ZooKeeper [bigtop]
masatana opened a new pull request, #1300:
URL: https://github.com/apache/bigtop/pull/1300
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g., 'BIGTOP-3638: Your PR title ...'.
-->
### Description of PR
https://issues.apache.org/jira/browse/BIGTOP-4261
We can simply place the systemd unit file in an appropriate location to use it by using [dh_installsystemd](https://www.man7.org/linux/man-pages/man1/dh_installsystemd.1.html).
### How was this patch tested?
On Ubuntu 24.04:
```
$ ./gradlew allclean zookeeper-pkg repo
$ cd provisioner/docker/
$ ./docker-hadoop.sh --enable-local-repo \
--disable-gpg-check \
--docker-compose-plugin \
-C config_rockylinux-8.yaml \
-F docker-compose-cgroupv2.yml \
--stack zookeeper \
-c 1 --smoke-tests zookeeper
```
and manually check if we can execute `systemctl {start|status|stop} zookeeper-server`
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
- [x] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4261. Provide systemd service unit files(Deb): ZooKeeper [bigtop]
Posted by "masatana (via GitHub)" <gi...@apache.org>.
masatana commented on PR #1300:
URL: https://github.com/apache/bigtop/pull/1300#issuecomment-2467182863
Oops, we better use systemd-tempfile to make /run directory. I'll make another commit.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4261. Provide systemd service unit files(Deb): ZooKeeper [bigtop]
Posted by "masatana (via GitHub)" <gi...@apache.org>.
masatana commented on PR #1300:
URL: https://github.com/apache/bigtop/pull/1300#issuecomment-2468207981
Update: Modified to use [systemd-tmpfiles](https://www.freedesktop.org/software/systemd/man/latest/systemd-tmpfiles.html#) to prepare the /run/zookeeper directory.
We can also use [dh_installtmpfiles](https://www.man7.org/linux/man-pages/man1/dh_installtmpfiles.1.html) to install tmpfile configuration file.
I tested the behavior by restarting docker container created [here](https://github.com/apache/bigtop/pull/1300#issue-2647011365)
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4261. Provide systemd service unit files(Deb): ZooKeeper [bigtop]
Posted by "iwasakims (via GitHub)" <gi...@apache.org>.
iwasakims merged PR #1300:
URL: https://github.com/apache/bigtop/pull/1300
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org