gpt4 book ai didi

hadoop - ResourceManager卡在接受状态

转载 作者:行者123 更新时间:2023-12-02 21:21:07 25 4
gpt4 key购买 nike

enter image description here我正在尝试将es 2.2.0版本与hadoop HDFS集成。在我的环境中,我有1个主节点和1个数据节点。在我的主节点上,安装了我的Es。
但是,在将其与HDFS集成时,我的资源管理器应用程序作业陷入“已接受”状态。
我以某种方式找到了更改我的yarn-site.xml设置的链接:

   <property>
<name>yarn.nodemanager.resource.memory-mb</name>
<value>2200</value>
<description>Amount of physical memory, in MB, that can be allocated for containers.</description>
</property>

<property>
<name>yarn.scheduler.minimum-allocation-mb</name>
<value>500</value>
</property>

我也这样做了,但是没有给我预期的输出。

组态:-

我的core-site.xml
   <property> 
<name>hadoop.tmp.dir</name>
<value>/app/hadoop/tmp</value>
<description>A base for other temporary directories.
</description> </property>

<property> <name>fs.default.name</name>
<value>
hdfs://localhost:54310
</value>
<description>The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri's scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri's authority is used to determine the host, port, etc. for a filesystem.
</description>
</property>

我的mapred-site.xml,
  <property> 
<name>mapred.job.tracker</name>
<value>localhost:54311</value>
<description>The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task. </description>
</property>

我的hdfs-site.xml,
   <property> 
<name>dfs.replication</name> <value>1</value> <description>Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not specified in create time. </description>
</property>

请帮助我如何将我的RM作业更改为运行状态。以便我可以在HDFS上使用我的elasticsearch数据。

最佳答案

如果屏幕截图正确(您有0个nodemanager)-因此该应用程序无法开始运行-您需要至少启动1个nodemanager,以便可以启动应用程序主控和以后的任务。

关于hadoop - ResourceManager卡在接受状态,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37269741/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com