Masatake Iwasaki created BIGTOP-4473:
----------------------------------------
Summary: Add dependency on initscripts to Spark RPM
Key: BIGTOP-4473
URL: https://issues.apache.org/jira/browse/BIGTOP-4473
Project: Bigtop
Issue Type: Bug
Reporter: Masatake Iwasaki
{noformat}
Error: Systemd start for spark-thriftserver failed!
journalctl log for spark-thriftserver:
Jul 22 14:58:45 ea5db6fa9c10 systemd[1]:
/run/systemd/generator.late/spark-thriftserver.service:20: PIDFile= references
a path below legacy directory /var/run/, updating
/var/run/spark/spark-thriftserver.pid ??? /run/spark/spark-thriftserver.pid;
please update the unit file accordingly.
Jul 22 14:58:51 ea5db6fa9c10 systemd[1]:
/run/systemd/generator.late/spark-thriftserver.service:20: PIDFile= references
a path below legacy directory /var/run/, updating
/var/run/spark/spark-thriftserver.pid ??? /run/spark/spark-thriftserver.pid;
please update the unit file accordingly.
Jul 22 14:58:51 ea5db6fa9c10 systemd[1]:
/run/systemd/generator.late/spark-thriftserver.service:20: PIDFile= references
a path below legacy directory /var/run/, updating
/var/run/spark/spark-thriftserver.pid ??? /run/spark/spark-thriftserver.pid;
please update the unit file accordingly.
Jul 22 15:00:00 ea5db6fa9c10 systemd[1]:
/run/systemd/generator.late/spark-thriftserver.service:20: PIDFile= references
a path below legacy directory /var/run/, updating
/var/run/spark/spark-thriftserver.pid ??? /run/spark/spark-thriftserver.pid;
please update the unit file accordingly.
Jul 22 15:00:08 ea5db6fa9c10 systemd[1]:
/run/systemd/generator.late/spark-thriftserver.service:20: PIDFile= references
a path below legacy directory /var/run/, updating
/var/run/spark/spark-thriftserver.pid ??? /run/spark/spark-thriftserver.pid;
please update the unit file accordingly.
Jul 22 15:00:09 ea5db6fa9c10 systemd[1]:
/run/systemd/generator.late/spark-thriftserver.service:20: PIDFile= references
a path below legacy directory /var/run/, updating
/var/run/spark/spark-thriftserver.pid ??? /run/spark/spark-thriftserver.pid;
please update the unit file accordingly.
Jul 22 15:00:15 ea5db6fa9c10 systemd[1]:
/run/systemd/generator.late/spark-thriftserver.service:20: PIDFile= references
a path below legacy directory /var/run/, updating
/var/run/spark/spark-thriftserver.pid ??? /run/spark/spark-thriftserver.pid;
please update the unit file accordingly.
Jul 22 15:00:15 ea5db6fa9c10 systemd[1]: Starting LSB: Spark thriftserver...
Jul 22 15:00:15 ea5db6fa9c10 spark-thriftserver[32943]:
/etc/redhat-lsb/lsb_log_message: line 3: /etc/init.d/functions: No such file or
directory
Jul 22 15:00:15 ea5db6fa9c10 spark-thriftserver[32943]: Starting Spark
thriftserver (spark-thriftserver):
Jul 22 15:00:15 ea5db6fa9c10 spark-thriftserver[32944]:
/etc/redhat-lsb/lsb_log_message: line 11: success: command not found
Jul 22 15:00:15 ea5db6fa9c10 spark-thriftserver[32945]:
/etc/redhat-lsb/lsb_pidofproc: line 3: /etc/init.d/functions: No such file or
directory
Jul 22 15:00:15 ea5db6fa9c10 spark-thriftserver[32946]:
/etc/redhat-lsb/lsb_pidofproc: line 5: pidofproc: command not found
Jul 22 15:00:15 ea5db6fa9c10 runuser[32947]: pam_unix(runuser:session): session
opened for user spark(uid=990) by (uid=0)
Jul 22 15:00:15 ea5db6fa9c10 runuser[32947]: pam_unix(runuser:session): session
closed for user spark
Jul 22 15:00:22 ea5db6fa9c10 spark-thriftserver[33059]:
/etc/redhat-lsb/lsb_pidofproc: line 3: /etc/init.d/functions: No such file or
directory
Jul 22 15:00:22 ea5db6fa9c10 spark-thriftserver[33060]:
/etc/redhat-lsb/lsb_pidofproc: line 5: pidofproc: command not found
Jul 22 15:00:22 ea5db6fa9c10 systemd[1]: spark-thriftserver.service: Control
process exited, code=exited, status=127/n/a
Jul 22 15:00:22 ea5db6fa9c10 systemd[1]: spark-thriftserver.service: Failed
with result 'exit-code'.
Jul 22 15:00:22 ea5db6fa9c10 systemd[1]: spark-thriftserver.service: Unit
process 32949 (java) remains running after unit stopped.
Jul 22 15:00:22 ea5db6fa9c10 systemd[1]: Failed to start LSB: Spark
thriftserver.
Jul 22 15:00:22 ea5db6fa9c10 systemd[1]: spark-thriftserver.service: Consumed
8.802s CPU time.
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)