master:错误:无法找到或加载主类master.log

时间:2016-05-12 13:10:54

标签: hadoop

我有一些问题。当我运行命令start-dfs.sh时,我收到此错误:

master: Error: Could not find or load main class master.log”.
The hadoop version is 2.7.2 and 2.6.4.
OS is centos 7.

Error: Could not find or load main class master.log
ulimit -a for user hadoop
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 14631
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) 4096
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

enter image description here

1 个答案:

答案 0 :(得分:0)

  • 我曾经遇到过类似的问题,并且想分享一下 为我工作。似乎与主机名有关的问题。它 由于某种原因已更改,我只是进行了交叉检查 主机名(/ etc / hostname)文件,将其还原为以前的名称,然后 刚刚用'init 6'重新启动了我的机器(reboot命令不起作用 对我来说),问题就解决了。希望这可以对您有所帮助 方式。