启动hdfs时报错:hadoop102:ERROR:Unable to wirte in /opt/module/hadoop-3.1.3/logs. Aborting.

启动hdfs时出现报错:hadoop102:ERROR:Unable to wirte in /opt/module/hadoop-3.1.3/logs. Aborting.启动hdfs时报错:hadoop102:ERROR:Unable to wirte in /opt/module/hadoop-3.1.3/logs. Aborting._第1张图片

 如上图,在启动hdfs时,hadoop102报错。

hadoop102:ERROR:Unable to wirte in /opt/module/hadoop-3.1.3/logs. Aborting.

则表明不能写入到/logs中,此时需要增加权限即可

输入命令: sudo chmod 777 /opt/module/hadoop-3.1.3/logs/  即可。

你可能感兴趣的:(hadoop,hdfs,hadoop,大数据,hdfs)