分享

hadoop启动时mv: cannot stat logs 跪求大牛哥答疑,非常感谢!

Alan-pan 发表于 2016-11-17 20:44:35 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 1 14850
问题如下, 请大牛哥帮忙解答!  
Starting secondary namenodes [master]
master: starting secondarynamenode, logging to /home/hadoop/hadoop-2.7.2/logs/hadoop-root-secondarynamenode-master.out
starting yarn daemons
starting resourcemanager, logging to /home/hadoop/hadoop-2.7.2/logs/yarn-root-resourcemanager-master.out
10.60.62.252: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node2.out.4’: No such file or directory
10.60.62.252: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node2.out.3’: No such file or directory
10.60.62.252: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node2.out.2’: No such file or directory
10.60.62.252: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node2.out.1’: No such file or directory
node2: starting nodemanager, logging to /home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node2.out
10.60.62.252: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node2.out’: No such file or directory
10.60.62.252: starting nodemanager, logging to /home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node2.out
node1: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node1.out.4’: No such file or directory
node1: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node1.out.3’: No such file or directory
10.60.62.251: starting nodemanager, logging to /home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node1.out
node1: starting nodemanager, logging to /home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node1.out
node1: mv: cannot stat ‘/home/hadoop/hadoop-2.7.2/logs/yarn-root-nodemanager-node1.out’: No such file or directory
10.60.62.252: ulimit -a
10.60.62.252: core file size          (blocks, -c) 0
10.60.62.252: data seg size           (kbytes, -d) unlimited
10.60.62.252: scheduling priority             (-e) 0
10.60.62.252: file size               (blocks, -f) unlimited
10.60.62.252: pending signals                 (-i) 1815
10.60.62.252: max locked memory       (kbytes, -l) 64
10.60.62.252: max memory size         (kbytes, -m) unlimited
10.60.62.252: open files                      (-n) 1024
10.60.62.252: pipe size            (512 bytes, -p) 8
node1: ulimit -a
node1: core file size          (blocks, -c) 0
node1: data seg size           (kbytes, -d) unlimited
node1: scheduling priority             (-e) 0
node1: file size               (blocks, -f) unlimited
node1: pending signals                 (-i) 1815
node1: max locked memory       (kbytes, -l) 64
node1: max memory size         (kbytes, -m) unlimited
node1: open files                      (-n) 1024
node1: pipe size            (512 bytes, -p) 8
问题描述.png

已有(1)人评论

跳转到指定楼层
langke93 发表于 2016-11-17 22:04:44
是否重启过Linux
在重启的时候,Linux可能会删除home下的内容
安装目录最好使用/usr
然后注意权限

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条