Re: Why sbin/start-dfs.sh do not exit 1 when namenode can not connect

2018-11-15 Thread Elek, Marton
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

Why sbin/start-dfs.sh do not exit 1 when namenode can not connect

2018-11-12 Thread xiang . dai
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