iwasakims opened a new pull request, #1351:
URL: https://github.com/apache/bigtop/pull/1351

   https://issues.apache.org/jira/browse/BIGTOP-4428
   
   Hive services fails due to insufficent dependency on /etc/init.d/functions.
   
   ```
   May 21 03:55:17 88e0b2a91ea7 systemd[1]: Starting hive-server2.service - 
LSB: Hive Server2...
   ░░ Subject: A start job for unit hive-server2.service has begun execution
   ░░ Defined-By: systemd
   ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
   ░░
   ░░ A start job for unit hive-server2.service has begun execution.
   ░░
   ░░ The job identifier is 1523.
   May 21 03:55:17 88e0b2a91ea7 hive-server2[3973]: 
/etc/redhat-lsb/lsb_pidofproc: line 3: /etc/init.d/functions: No such file or 
directory
   May 21 03:55:17 88e0b2a91ea7 hive-server2[3974]: 
/etc/redhat-lsb/lsb_pidofproc: line 5: pidofproc: command not found
   May 21 03:55:17 88e0b2a91ea7 runuser[3976]: pam_unix(runuser:session): 
session opened for user hive(uid=989) by (uid=0)
   May 21 03:55:17 88e0b2a91ea7 runuser[3976]: pam_unix(runuser:session): 
session closed for user hive
   May 21 03:55:20 88e0b2a91ea7 hive-server2[4139]: 
/etc/redhat-lsb/lsb_pidofproc: line 3: /etc/init.d/functions: No such file or 
directory
   May 21 03:55:20 88e0b2a91ea7 hive-server2[4140]: 
/etc/redhat-lsb/lsb_pidofproc: line 5: pidofproc: command not found
   May 21 03:55:20 88e0b2a91ea7 hive-server2[4141]: 
/etc/redhat-lsb/lsb_log_message: line 3: /etc/init.d/functions: No such file or 
directory
   May 21 03:55:20 88e0b2a91ea7 hive-server2[4141]: Failed to start Hive 
Server2. Return value: 127
   May 21 03:55:20 88e0b2a91ea7 hive-server2[4142]: 
/etc/redhat-lsb/lsb_log_message: line 16: failure: command not found
   May 21 03:55:20 88e0b2a91ea7 systemd[1]: hive-server2.service: Control 
process exited, code=exited, status=127/n/a
   ```
   
   Since all Red Hat family OS distributions supported in Bigtop 3.4 
(fedora-40, rockylinux-9 and openeuler-22.03) are providing initscripts package 
as a source of /etc/init.d/functions and other related resources, I added the 
dependency in the hive.spec.
   


-- 
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-unsubscr...@bigtop.apache.org

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

Reply via email to