我正在尝试在Hadoop中运行一个简单的字数示例,运行jar之后,我的程序陷入了ACCEPTED状态,但最终状态似乎是不确定的。
我的yarn-site.xml是
<?xml version="1.0"?>
<configuration>
<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>
</configuration>
mapred-site.xml是:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
</configuration>
请告诉我该怎么办。谢谢。