You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "iwasakims (via GitHub)" <gi...@apache.org> on 2024/10/09 07:46:57 UTC

Re: [PR] BIGTOP-4197. Provide systemd service unit files(RPM): ZooKeeper [bigtop]

iwasakims commented on PR #1295:
URL: https://github.com/apache/bigtop/pull/1295#issuecomment-2401585985

   @masatana `systemctl status` did not work while the process is alive on openeuler-22.03-aarch64. `/var/run` should be migrated to `/run`?
   
   ```
   [root@5ae3b11a6e46 /]# jps
   1047 Jps
   520 QuorumPeerMain
   697 GradleDaemon
   
   [root@5ae3b11a6e46 /]# systemctl status zookeeper-server
   ○ zookeeper-server.service - ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
        Loaded: loaded (/usr/lib/systemd/system/zookeeper-server.service; static)
        Active: inactive (dead)
          Docs: https://zookeeper.apache.org/
   
   Oct 09 07:31:37 5ae3b11a6e46 systemd[1]: /usr/lib/systemd/system/zookeeper-server.service:33: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zookeeper/zookeeper_server.pid → /run/zookeeper/zookeeper_server.pid; please update the unit file accordingly.
   Oct 09 07:33:30 5ae3b11a6e46 systemd[1]: /usr/lib/systemd/system/zookeeper-server.service:33: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zookeeper/zookeeper_server.pid → /run/zookeeper/zookeeper_server.pid; please update the unit file accordingly.
   Oct 09 07:33:37 5ae3b11a6e46 systemd[1]: /usr/lib/systemd/system/zookeeper-server.service:33: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zookeeper/zookeeper_server.pid → /run/zookeeper/zookeeper_server.pid; please update the unit file accordingly.
   Oct 09 07:40:56 5ae3b11a6e46 systemd[1]: /usr/lib/systemd/system/zookeeper-server.service:33: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zookeeper/zookeeper_server.pid → /run/zookeeper/zookeeper_server.pid; please update the unit file accordingly.
   Oct 09 07:42:34 5ae3b11a6e46 systemd[1]: /usr/lib/systemd/system/zookeeper-server.service:33: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zookeeper/zookeeper_server.pid → /run/zookeeper/zookeeper_server.pid; please update the unit file accordingly.
   
   ```


-- 
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