我尝试在EC2中启动hadoop的纱线,如
$ ./start-yarn.sh
我收到以下消息
starting yarn daemons
starting resourcemanager, logging to /home/ubuntu/library/hadoop/hadoop-2.2.0/logs/yarn-ubuntu-resourcemanager-ip-x-x-x-x.out
localhost: Warning: Permanently added the ECDSA host key for IP address 'x.x.x.x' to the list of known hosts.
localhost: starting nodemanager, logging to /home/ubuntu/library/hadoop/hadoop-2.2.0/logs/yarn-ubuntu-nodemanager-ip-x-x-x-x.out
当我尝试$ jps
时,我没有看到ResourceManager正在运行。
当我查看yarn-ubuntu-resourcemanager-ip-x-x-x-x.out
文件时,我明白了,
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 7862
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 7862
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
PS:我已将ip,x.x.x.x localhost添加到/etc/hosts
我该如何调试?