zoukankan      html  css  js  c++  java
  • YARN Registry DNS启动提示“53端口被占用”错误的解决方法

    错误提示:

    ERROR dns.PrivilegedRegistryDNSStarter (PrivilegedRegistryDNSStarter.java:init(61)) - Error initializing Registry DNS
    java.net.BindException: Problem binding to [xxx:53] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException

    resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-sudo.sh  -H -E /usr/hdp/xxx/hadoop-yarn/bin/yarn --config /usr/hdp/xxx/hadoop/conf --daemon start registrydns' returned 1. ERROR: Cannot set priority of registrydns process xxx

    原因:YARN Registry DNS的默认端口53本其它进程占用了。

    方案一:

    1.查询占用53端口的进程/服务

    lsof -i:53

    查询到PID和User,这里的User一般是systemd-resolved

    2.停止占用53端口的进程/服务

    systemctl stop systemd-resolved

    3.在Ambari界面启动YARN Registry DNS,成功。

    方案二:

    直接在Ambari界面,YARN -> configs -> advanced -> RegistryDNS Bind Port,修改端口后保存。

  • 相关阅读:
    【NOIP2003提高组】加分二叉树
    【luogu1220】关路灯
    【luogu2583】地铁间谍
    Hello, World!
    python中的画笔控制函数
    python中库引用与import
    python中RGB色彩
    turtle角度坐标体系
    turtle空间坐标系
    python中turtle库的使用
  • 原文地址:https://www.cnblogs.com/live41/p/14236987.html
Copyright © 2011-2022 走看看