start-all.sh
starting namenode, logging to xxx-namenode-calm.out
calm: datanode running as process 43376. Stop it first.
calm: secondarynamenode running as process 2968. Stop it first.
jobtracker running as process 26796. Stop it first. stop-all.sh
starting namenode, logging to xxx-namenode-calm.out
calm: datanode running as process 43376. Stop it first.
calm: secondarynamenode running as process 2968. Stop it first.
jobtracker running as process 26796. Stop it first. stop-all.sh
stopping jobtracker
/opt/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: 第 127 行:kill: (26796) - No such process
calm: no tasktracker to stop
no namenode to stop
calm: stopping datanode
calm: /opt/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: line 127: kill: (43376) - No such process
calm: stopping secondarynamenode
calm: /opt/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: line 127: kill: (2968) - No such process
calm: starting tasktracker, logging to xxx-tasktracker-calm.out
ps
PID PPID PGID WINPID TTY UID STIME COMMAND
S 52176 1 52176 52420 pty0 197610 00:09:55 /usr/bin/ssh
43376 1 6916 52748 ? 197610 00:11:46 /usr/java/jdk1.8.0_45/bin/java
55232 1 55232 55232 ? 197610 09:10:20 /usr/bin/mintty
2968 1 41328 55124 ? 197610 00:11:51 /usr/java/jdk1.8.0_45/bin/java
53924 1 53924 53924 ? 197610 23:53:21 /usr/bin/mintty
34800 880 34800 56372 pty1 197610 14:44:21 /usr/bin/ps
880 55232 880 55988 pty1 197610 09:10:20 /usr/bin/bash
26796 1 2560 54704 pty1 197610 00:11:56 /usr/java/jdk1.8.0_45/bin/java
6916 1 54580 56232 pty1 197610 14:43:37 /cygdrive/c/Progra~1/Java/jdk1.8.0_45/bin/java
PID PPID PGID WINPID TTY UID STIME COMMAND
S 52176 1 52176 52420 pty0 197610 00:09:55 /usr/bin/ssh
43376 1 6916 52748 ? 197610 00:11:46 /usr/java/jdk1.8.0_45/bin/java
55232 1 55232 55232 ? 197610 09:10:20 /usr/bin/mintty
2968 1 41328 55124 ? 197610 00:11:51 /usr/java/jdk1.8.0_45/bin/java
53924 1 53924 53924 ? 197610 23:53:21 /usr/bin/mintty
34800 880 34800 56372 pty1 197610 14:44:21 /usr/bin/ps
880 55232 880 55988 pty1 197610 09:10:20 /usr/bin/bash
26796 1 2560 54704 pty1 197610 00:11:56 /usr/java/jdk1.8.0_45/bin/java
6916 1 54580 56232 pty1 197610 14:43:37 /cygdrive/c/Progra~1/Java/jdk1.8.0_45/bin/java
kill -9 43376等这些节点的子进程杀不死 ps后仍存在
因为hadoop的namenode和datanode存在通信
kill -9 52716即可