我一直在参考这个链接进行hadoop-1.1.1 安装。
我的所有文件和权限都已根据此链接设置。但我收到了这个错误。请帮忙。
hduser@ubuntu:/usr/local/hadoop$ bin/start-all.sh mkdir: 无法创建目录
/usr/local/hadoop/libexec/../logs': Permission denied chown: cannot access
/usr/local/hadoop/libexec/../logs': 没有这样的文件或目录启动namenode,登录到/usr /local/hadoop/libexec/../logs/hadoop-hduser-namenode-ubuntu.out /usr/local/hadoop/bin/hadoop-daemon.sh:第 136 行:/usr/local/hadoop/libexec/.. /logs/hadoop-hduser-namenode-ubuntu.out:没有这样的文件或目录头:无法打开/usr/local/hadoop/libexec/../logs/hadoop-hduser-namenode-ubuntu.out' for reading: No such file or directory localhost: mkdir: cannot create directory
/usr/local/hadoop/libexec/../logs':权限被拒绝 localhost:chown:无法访问/usr/local/hadoop/libexec/../logs': No such file or directory localhost: starting datanode, logging to /usr/local/hadoop/libexec/../logs/hadoop-hduser-datanode-ubuntu.out localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 136: /usr/local/hadoop/libexec/../logs/hadoop-hduser-datanode-ubuntu.out: No such file or directory localhost: head: cannot open
/usr/local/ hadoop/libexec/../logs/hadoop-hduser-datanode-ubuntu.out' 用于阅读:没有这样的文件或目录 localhost:mkdir:无法创建目录/usr/local/hadoop/libexec/../logs': Permission denied localhost: chown: cannot access
/usr/local/hadoop/libexec/../logs':没有这样的文件或目录localhost:启动secondarynamenode,登录到/usr/local/hadoop/libexec/../logs/hadoop-hduser-secondarynamenode-ubuntu.out本地主机:/usr/local/hadoop/bin/hadoop-daemon.sh:第 136 行:/usr/local/hadoop/libexec/../logs/hadoop-hduser-secondarynamenode-ubuntu.out:没有这样的文件或目录本地主机:头:无法打开/usr/local/hadoop/libexec/../logs/hadoop-hduser-secondarynamenode-ubuntu.out' for reading: No such file or directory mkdir: cannot create directory
/usr/local/hadoop/libexec/../logs':权限被拒绝chown:无法访问/usr/local/hadoop/libexec/../logs': No such file or directory starting jobtracker, logging to /usr/local/hadoop/libexec/../logs/hadoop-hduser-jobtracker-ubuntu.out /usr/local/hadoop/bin/hadoop-daemon.sh: line 136: /usr/local/hadoop/libexec/../logs/hadoop-hduser-jobtracker-ubuntu.out: No such file or directory head: cannot open
/usr/local/hadoop/libexec/../logs/hadoop-hduser-jobtracker-ubuntu.out'阅读:没有这样的文件或目录 localhost:mkdir:无法创建目录/usr/local/hadoop/libexec/../logs': Permission denied localhost: chown: cannot access
/usr/local/hadoop/libexec/../logs':没有这样的文件或目录本地主机:启动tasktracker,登录到/usr/local/hadoop/libexec/../logs/hadoop-hduser-tasktracker-ubuntu.out本地主机:/usr/local/hadoop/bin/hadoop-daemon.sh:第 136 行:/usr/local/hadoop/libexec/../logs/hadoop-hduser-tasktracker-ubuntu.out:没有这样的文件或目录本地主机:头:无法打开`/usr/local/hadoop/libexec/../logs/hadoop-hduser-tasktracker-ubuntu.out'进行阅读:没有这样的文件或目录