You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Resource Manager Web UI无法正常工作,附yarn-site.xml配置信息

Troubleshooting Unresponsive YARN Resource Manager Web UI

Hey there, let's work through why your YARN Resource Manager Web UI isn't loading properly. First, let's note the partial yarn-site.xml config you shared (it looks truncated, which might be part of the issue):

<configuration>
<!-- Site specific YARN configuration properties -->
<property> 
  <name>yarn.nodemanager.aux-services</name> 
  <value>mapreduce_shuffle</value>
</property>
<property> 
  <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name> 
  <value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>
<property> 
  <name>yarn.resourcemanager.resour...

Let's break down the key checks to fix this:

  • Verify complete Resource Manager web UI configuration
    The truncated line in your config suggests you might be missing critical entries that define how the web UI runs. Make sure these properties are properly set in yarn-site.xml:

    <property>
      <name>yarn.resourcemanager.address</name>
      <value>your-rm-hostname:8032</value>
    </property>
    <property>
      <name>yarn.resourcemanager.webapp.address</name>
      <value>your-rm-hostname:8088</value> <!-- Default web UI port -->
    </property>
    <property>
      <name>yarn.resourcemanager.webapp.https.address</name>
      <value>your-rm-hostname:8090</value>
    </property>
    

    Replace your-rm-hostname with the actual hostname or IP of your Resource Manager node.

  • Check if the Resource Manager process is running
    Use these commands to confirm the service is up:

    • Run jps and look for a ResourceManager entry in the output.
    • Or use the YARN CLI: yarn resourcemanager status
      If it's not running, start it with:
    start-yarn.sh # Starts all YARN services
    # Or start just the Resource Manager:
    yarn-daemon.sh start resourcemanager
    
  • Validate port accessibility and conflicts
    The default web UI runs on port 8088. Check if this port is accessible and free:

    • Test connectivity from your machine to the RM host: telnet your-rm-hostname 8088 or nc -zv your-rm-hostname 8088
    • Check if the port is occupied by another process: netstat -tulpn | grep 8088 (Linux) or ss -tulpn | grep 8088
      If the port is in use, update the yarn.resourcemanager.webapp.address property to use a different port (e.g., 8089).
  • Inspect Resource Manager logs for errors
    Head to your Hadoop logs directory (usually $HADOOP_HOME/logs) and look for files named yarn-*-resourcemanager-*.log. Search for keywords like ERROR, webapp, or bind—these will often tell you if there's a startup failure, configuration parsing error, or port binding issue.

  • Ensure your XML config is syntactically correct
    A missing closing </property> or </configuration> tag can break the entire config. Double-check that all your property blocks are properly closed, and that there are no typos in property names.

  • Rule out browser-side issues
    Sometimes cached data or proxy settings can block access. Try loading the UI in an incognito/private window, clear your browser cache, or access the RM's IP address directly instead of using a hostname.

内容的提问来源于stack exchange,提问作者Jon Andrews

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 06:41:55