You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2024/04/18 08:26:00 UTC

[jira] [Created] (BIGTOP-4095) Fix failure of starting service due to lack of initscripts on Rocky Linux 9

Masatake Iwasaki created BIGTOP-4095:
----------------------------------------

             Summary: Fix failure of starting service due to lack of initscripts on Rocky Linux 9
                 Key: BIGTOP-4095
                 URL: https://issues.apache.org/jira/browse/BIGTOP-4095
             Project: Bigtop
          Issue Type: Bug
            Reporter: Masatake Iwasaki


Adding package dependency on initscripts might be a quick fix. Migrating from sysv init scripts to systemd should be the right fix.

{noformat}
Apr 18 05:18:38 43475597b9ff systemd[1]: Starting LSB: Hadoop namenode...
Apr 18 05:18:38 43475597b9ff runuser[33698]: pam_unix(runuser:session): session opened for user hdfs(uid=989) by (uid=0)
Apr 18 05:18:38 43475597b9ff hadoop-hdfs-namenode[33699]: WARNING: Use of this script to start HDFS daemons is deprecated.
Apr 18 05:18:38 43475597b9ff hadoop-hdfs-namenode[33699]: WARNING: Attempting to execute replacement "hdfs --daemon start" instead.
Apr 18 05:18:40 43475597b9ff runuser[33698]: pam_unix(runuser:session): session closed for user hdfs
Apr 18 05:18:45 43475597b9ff hadoop-hdfs-namenode[33816]: /etc/redhat-lsb/lsb_pidofproc: line 3: /etc/init.d/functions: No such file or directory
Apr 18 05:18:45 43475597b9ff hadoop-hdfs-namenode[33817]: /etc/redhat-lsb/lsb_pidofproc: line 5: pidofproc: command not found
Apr 18 05:18:45 43475597b9ff hadoop-hdfs-namenode[33818]: /etc/redhat-lsb/lsb_log_message: line 3: /etc/init.d/functions: No such file or directory
Apr 18 05:18:45 43475597b9ff hadoop-hdfs-namenode[33818]: Failed to start Hadoop namenode. Return value: 127
Apr 18 05:18:45 43475597b9ff hadoop-hdfs-namenode[33819]: /etc/redhat-lsb/lsb_log_message: line 16: failure: command not found
Apr 18 05:18:45 43475597b9ff systemd[1]: hadoop-hdfs-namenode.service: Control process exited, code=exited, status=127/n/a
Apr 18 05:18:45 43475597b9ff systemd[1]: hadoop-hdfs-namenode.service: Failed with result 'exit-code'.
Apr 18 05:18:45 43475597b9ff systemd[1]: hadoop-hdfs-namenode.service: Unit process 33733 (java) remains running after unit stopped.
Apr 18 05:18:45 43475597b9ff systemd[1]: Failed to start LSB: Hadoop namenode.
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)