hadoop-cluster-docker icon indicating copy to clipboard operation
hadoop-cluster-docker copied to clipboard

start-hadoop doesn't start node manager and data node. ony start resource manager

Open Shuxuan opened this issue 7 years ago • 1 comments

start-hadoop doesn't start node manager and data node. ony start resource manager

root@hadoop-master:~# $HADOOP_HOME/sbin/start-dfs.sh Starting namenodes on [hadoop-master] hadoop-master: Warning: Permanently added 'hadoop-master,172.18.0.2' (ECDSA) to the list of known hosts. hadoop-master: Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-86-generic x86_64) hadoop-master: hadoop-master: * Documentation: https://help.ubuntu.com/ hadoop-master: hadoop-master: The programs included with the Ubuntu system are free software; hadoop-master: the exact distribution terms for each program are described in the hadoop-master: individual files in /usr/share/doc//copyright. hadoop-master: hadoop-master: Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by hadoop-master: applicable law. hadoop-master: hadoop-slave2: Warning: Permanently added 'hadoop-slave2,172.18.0.4' (ECDSA) to the list of known hosts. hadoop-slave1: Warning: Permanently added 'hadoop-slave1,172.18.0.3' (ECDSA) to the list of known hosts. hadoop-slave1: Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-86-generic x86_64) hadoop-slave1: hadoop-slave1: * Documentation: https://help.ubuntu.com/ hadoop-slave1: hadoop-slave1: The programs included with the Ubuntu system are free software; hadoop-slave1: the exact distribution terms for each program are described in the hadoop-slave1: individual files in /usr/share/doc//copyright. hadoop-slave1: hadoop-slave1: Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by hadoop-slave1: applicable law. hadoop-slave1: hadoop-slave2: Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-86-generic x86_64) hadoop-slave2: hadoop-slave2: * Documentation: https://help.ubuntu.com/ hadoop-slave2: hadoop-slave2: The programs included with the Ubuntu system are free software; hadoop-slave2: the exact distribution terms for each program are described in the hadoop-slave2: individual files in /usr/share/doc/*/copyright. hadoop-slave2: hadoop-slave2: Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by hadoop-slave2: applicable law. hadoop-slave2: Starting secondary namenodes [0.0.0.0] 0.0.0.0: Warning: Permanently added '0.0.0.0' (ECDSA) to the list of known hosts. 0.0.0.0: Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 4.1.12-61.1.28.el6uek.x86_64 x86_64) 0.0.0.0: 0.0.0.0: * Documentation: https://help.ubuntu.com/ root@hadoop-master:~# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 21:11 ? 00:00:00 sh -c service ssh start; bash root 33 1 0 21:11 ? 00:00:00 /usr/sbin/sshd root 36 1 0 21:11 ? 00:00:00 bash root 46 0 0 21:11 ? 00:00:00 bash root 400 46 0 21:12 ? 00:00:00 ps -ef

Shuxuan avatar Nov 20 '17 21:11 Shuxuan

it sounds like related with linux env. if I run this on redhat 6.8, i could hit the above error. but it works fine on centos.
docker engine version are the same on each host. 17

Shuxuan avatar Nov 21 '17 00:11 Shuxuan