Hi,
start-dfs.sh can start multiple services (including
namenode/datanode/...) on multiple hosts. Systemd usually manages single
services on localhost.
I would create separated systemd units for namenode/datanode/... etc.
and use 'hdfs namenode', 'hdfs datanode' commands.
Marton
On 11/13/18 8:0
Hi!
I use systemd to control hdfs service, when reboot, i find below issue:
11月 13 14:47:58 test-storage.novalocal start-dfs.sh[1915]: Starting namenodes
on [test-storage.novalocal]
11月 13 14:48:03 test-storage.novalocal start-dfs.sh[1915]:
test-storage.novalocal: starting namenode, logging