Apache Drill在午餐时立即崩溃

时间:2017-07-04 13:24:23

标签: apache apache-drill

我的钻取群集存在问题,我的钻取群集有1个主节点和4个节点。

我已停止每个钻取节点

sudo -i /home/hadoop/apache-drill-1.10.0/bin/drillbit.sh stop

并开始

sudo -i /home/hadoop/apache-drill-1.10.0/bin/drillbit.sh start

我不知道该做什么,尝试过在网上搜索但是这个link没有解决我的问题似乎没什么关系

    2017-07-04 13:09:10,454 [main] INFO  o.apache.drill.exec.server.Drillbit - Construction completed (2928 ms).
    2017-07-04 13:09:10,864 [main] INFO  o.a.drill.exec.rpc.user.UserServer - User Error Occurred: Drillbit could not bind to port 31010. (Address already in use)
    org.apache.drill.common.exceptions.UserException: RESOURCE ERROR: Drillbit could not bind to port 31010.

    Server type UserServer

    [Error Id: a75dd2ec-a3b6-4fcb-b60b-0a1a63354943 ]

................
................
org.apache.drill.common.AutoCloseables.close(AutoCloseables.java:64) ~[drill-common-1.10.0.jar:1.10.0]
            at org.apache.drill.exec.server.Drillbit.close(Drillbit.java:159) [drill-java-exec-1.10.0.jar:1.10.0]
            at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:294) [drill-java-exec-1.10.0.jar:1.10.0]
            at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:271) [drill-java-exec-1.10.0.jar:1.10.0]
            at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:267) [drill-java-exec-1.10.0.jar:1.10.0]
    2017-07-04 13:09:11,919 [main] INFO  o.apache.drill.exec.server.Drillbit - Shutdown completed (1053 ms).

很想获得如何解决它的输入

我怎样才能找到原因: Drillbit无法绑定到端口31010.(地址已在使用中

1 个答案:

答案 0 :(得分:0)

看来我的ec2实例锁定端口31010上有一个僵尸任务

所以我杀死了那个pid任务 通过这个:

netstat -tulp | grep LIST | grep 31010

返回

tcp        0      0 *:31010                     *:*                         LISTEN      16449/java

现在是终结者

kill -9 16449