hdfs config:
my computer---->c---->windows---->system32----->drivers---->etc--->hosts open host 192.168.56.2 node-master 192.168.56.3 node1
stop-dfs.sh
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ config YARN hadoop ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /opt/hadoop-3.2.1/etc/hadoop/ yarn-site.xml
yarn.resourcemanager.hostname node-master yarn.nodemanager.resource.memory-mb 1536 yarn.scheduler.maximum-allocation-mb 1536 <description>Maximum limit of memory to allocate to each container request at the Resource Manager.</description>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.nodemanager.vmem-chech-enable</name>
<value>false</value>
<description>turn off virtual memory.</description>
</property>
<property>
<name>yarn.acl.enable</name>
<value>0</value>
<description>turn off acl.</description>
</property>
and copy to another node.