Hadoop说启动datanode,启动它,但以后不会显示在jps中

时间:2015-11-09 06:58:41

标签: hadoop

datanode日志:

ulimit -a for user sumitkhanna:

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 63202
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) 63202
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Configured Capacity: 0 (0 KB)
Present Capacity: 0 (0 KB)
DFS Remaining: 0 (0 KB)
DFS Used: 0 (0 KB)
DFS Used%: �%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0
-------------------------------------------------
Datanodes available: 0 (0 total, 0 dead)

基本上,它会在将本地文件复制到hdfs时出错。

2 个答案:

答案 0 :(得分:0)

JPS输出不一致,取决于通常可以修复的多个因素,但我不再尝试了。使用'ps'作为你的真相来源:

ps ax | grep DataNode

希望你会看到它。

答案 1 :(得分:0)

这意味着您的datanode尚未启动。启动dataNode时出现异常。请查看stacktrace的datanode日志。