工作人员无法在Distributed R中启动

时间:2015-04-14 05:04:47

标签: distributed-r

当我运行此命令时:

distributedR_start (inst = 0, mem=0, cluster_conf="cluster_conf.xml", log=2)

我收到此错误:

Error in value[[3L]](cond) : No workers are registered

这是我的配置文件:

<?xml version="1.0" ?>
    <MasterConfig>
        <ServerInfo>
            <Hostname>10.234.31.166</Hostname>
            <StartPortRange>50000</StartPortRange>
            <EndPortRange>50100</EndPortRange>
        </ServerInfo>
        <Workers>
        <Worker>
            <Hostname>10.234.31.165</Hostname>
            <StartPortRange>50000</StartPortRange>
            <EndPortRange>50100</EndPortRange>
            <Executors>0</Executors>
            <SharedMemory>0</SharedMemory>
        </Worker>
        <Worker>
            <Hostname>10.234.31.167</Hostname>
            <StartPortRange>50000</StartPortRange>
            <EndPortRange>50100</EndPortRange>
            <Executors>0</Executors>
            <SharedMemory>0</SharedMemory>
        </Worker>
    </Workers>
</MasterConfig>

我的主日志文件是R_master_hduser_10.234.31.166.50000.log

记录文件消息:

2015-Apr-14 08:40:33.263117 [INFO] Master node is listening at 50000 port.
2015-Apr-14 08:40:33.263410 [INFO] Resource Manager Created
2015-Apr-14 08:40:33.263451 [INFO] Master Initialization done
2015-Apr-14 08:40:34.290737 [INFO] Master awaiting HELLO handshaking with Workers.
2015-Apr-14 08:41:34.290973 [ERROR] No workers are registered
2015-Apr-14 08:41:35.296232 [INFO] PrestoMasterHanlder Shutdown is called
2015-Apr-14 08:41:35.297740 [INFO] distributedR shutdown complete.

我已经尝试过在这个论坛中提到的所有步骤,比如master可以无需密码登录到工作人员。我还交叉检查了所有系统中.bashrc路径的DISTRIBUTED_HOME条目,但它没有创建任何工作日志文件。似乎工人无法给握手握手。

有谁知道如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

您是否确认在没有密码输入的情况下可以从10.234.31.166到10.234.31.165和10.234.31.167进行ssh?