首先是 日志异常 ( 用户权限)
hadoop111: ERROR: Unable to write in /opt/module/hadoop-3.1.4/logs. Aborting.
Starting datanodes
hadoop111: ERROR: Unable to write in /opt/module/hadoop-3.1.4/logs. Aborting.
hadoop112: datanode is running as process 10105. Stop it first.
hadoop113: datanode is running as process 19312. Stop it first.
Starting secondary namenodes [hadoop113]
hadoop113: secondarynamenode is running as process 19380. Stop it first.
[hadoop101@axcmsm111 hadoop-3.1.4]$ sudo chown hadoop101:hadoop101 ./logs
[hadoop101@axcmsm111 hadoop-3.1.4]$ sudo chown hadoop101:hadoop101 ./data
没看用户一直用root搞冲突了 改一下所有者 ,给我整迷糊了。
弄完然后又出现了另一个权限问题。。。
Starting namenodes on [hadoop111]
hadoop111: /opt/module/hadoop-3.1.4/libexec/hadoop-functions.sh:行184