遇到下图不要慌,看日志
修改了hdfs默认参数重启报错
查看报错日志
查看slave01 目录权限
赋权重启
[root@slave01 run]# chown hdfs:hadoop hdfs-sockets
[root@slave01 run]# ls -l
total 100
-rw-r--r-- 1 root root 5 Aug 2 15:58 atd.pid
-rw-r--r-- 1 root root 5 Aug 2 15:58 auditd.pid
drwxr-xr-x 2 root root 4096 Aug 3 10:22 cloudera-scm-agent
drwxr-xr-x. 2 root root 4096 Jul 17 2014 console
-rw-r--r-- 1 root root 5 Aug 2 15:58 crond.pid
---------- 1 root root 0 Aug 2 15:58 cron.reboot
drwxr-xr-x. 3 root lp 4096 Aug 2 15:58 cups
-rw-r--r-- 1 root root 5 Aug 2 15:58 cupsd.pid
drwxr-xr-x. 2 root root 4096 Aug 2 15:58 dbus
drwxr-xr-x. 2 root root 4096 Jul 17 2014 faillock
drwxr-xr-x 2 hdfs hadoop 4096 Aug 1 10:25 hdfs-sockets
drwx------. 2 root root 4096 May 20 2015 mdadm
-rw-r--r-- 1 root root 5 Aug 2 15:58 messagebus.pid
drwxr-xr-x 2 mysql mysql 4096 Aug 3 18:00 mysqld
drwxrwxr-x. 2 root root 4096 Apr 10 2015 netreport
-rw-r--r-- 1 root root 4 Aug 2 16:40 ntpd.pid
drwxr-xr-x. 2 root root 4096 Jul 31 2014 plymouth
drwxr-xr-x. 2 root root 4096 Aug 2 15:58 portreserve
drwxr-xr-x. 2 root root 4096 Aug 4 11:22 rhsm
drwxr-xr-x. 2 root root 4096 Feb 28 2015 saslauthd
drwxr-xr-x. 2 root root 4096 Jul 17 2014 sepermit
drwxr-xr-x. 2 root root 4096 Jun 30 2014 setrans
-rw-r--r-- 1 root root 5 Aug 2 15:58 sshd.pid
-rw------- 1 root root 5 Aug 2 15:58 syslogd.pid
-rw-rw-r-- 1 root utmp 5376 Aug 4 10:56 utmp