Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: CDH5.0.0
-
Fix Version/s: None
-
Component/s: Packaging
-
Labels:None
Description
We noticed that init.d scripts do not reliably work on systemd-based operating systems (CentOS 7). Sometimes, if process (for us, usually NodeManager) dies for some reason then systemd doesn't seem to be aware of it and "systemctl restart hadoop-yarn-nodemanager" doesn't have any effect. You need to stop, then start.
There is https://issues.apache.org/jira/browse/BIGTOP-2406 that seems to address something like this by adding "# pidfile" line to all init.d scripts. Can this be added to CDH?