在此先感谢您的帮助 !

当我启动%HADOOP_HOME%\ sbin目录\启动dfs.cmd,它的工作原理,然后当我做%HADOOP_HOME%\ sbin目录\启动yarn.cmd这是行不通的,它打开两个窗口说:“命令的ResourceManager找不到”和“命令”nodemanager“找不到 .

我一直在努力解决这个问题,但没有找到任何解决办法,并尝试了很多东西 . 这是我的yarn-site.xml:

<configuration>
    <property>
        <name>yarn.scheduler.minimum-allocation-mb</name>
        <value>128</value>
        <description>Minimum limit of memory to allocate to each container request at the Resource Manager.</description>
    </property>
    <property>
        <name>yarn.scheduler.maximum-allocation-mb</name>
        <value>2048</value>
        <description>Maximum limit of memory to allocate to each container request at the Resource Manager.</description>
    </property>
    <property>
        <name>yarn.scheduler.minimum-allocation-vcores</name>
        <value>1</value>
        <description>The minimum allocation for every container request at the RM, in terms of virtual CPU cores. Requests lower than this won't take effect, and the specified value will get allocated the minimum.</description>
    </property>
    <property>
        <name>yarn.scheduler.maximum-allocation-vcores</name>
        <value>2</value>
        <description>The maximum allocation for every container request at the RM, in terms of virtual CPU cores. Requests higher than this won't take effect, and will get capped to this value.</description>
    </property>
    <property>
        <name>yarn.nodemanager.resource.memory-mb</name>
        <value>4096</value>
        <description>Physical memory, in MB, to be made available to running containers</description>
    </property>
    <property>
        <name>yarn.nodemanager.resource.cpu-vcores</name>
        <value>4</value>
        <description>Number of CPU cores that can be allocated for containers.</description>
    </property>
	<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.scheduler.address</name>
	   <value>master-1:8030</value>
	</property>
	<property>
	   <name>yarn.resourcemanager.address</name>
	   <value>master-1:8032</value>
	</property>
	<property>
	   <name>yarn.resourcemanager.webapp.address</name>
	   <value>master-1:8088</value>
	</property>
	<property>
	   <name>yarn.resourcemanager.resource-tracker.address</name>
	   <value>master-1:8031</value>
	</property>
	<property>
	   <name>yarn.resourcemanager.admin.address</name>
	   <value>master-1:8033</value>
	</property>
</configuration>

如何管理这项工作?