hadoop之sbin/hadoop-daemon.sh:行165: /tmp/hadoop-xiximayou-datanode.pid: 权限不够 修改权限就好了: sudo chmod 777 /tmp/hadoop-xiximayou-datanode.pid