zoukankan      html  css  js  c++  java
  • 完全分布模式的四大模块设置

    配置完全分布式(${hadoop_home}/etc/hadoop/)  --->full

    2018-12-21 09:41:47

    [core-site.xml]

                       <?xml version="1.0" encoding="UTF-8"?>

                       <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

                       <configuration>

                                         <property>

                                                            <name>fs.defaultFS</name>

                                                            <value>hdfs://s250/</value>

                                         </property>

         </configuration>


    此处添加主控端(namenode节点)的IP或者主机名

    [hdfs-site.xml]

                       <?xml version="1.0" encoding="UTF-8"?>

                       <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

                       <configuration>

                                         <property>

                                                            <name>dfs.replication</name>

                                                            <value>3</value>

                                         </property>

                       </configuration>


    此处添加有多少子客户端(datanode节点),写数量即可,不包含namenode节点

    [mapred-site.xml]   不变

    [yarn-site.xml]

                       <?xml version="1.0"?>

                       <configuration>

                                         <property>

                                                            <name>yarn.resourcemanager.hostname</name>

                                                            <value>s250</value>

                                         </property>

                                         <property>

                                                            <name>yarn.nodemanager.aux-services</name>

                                                            <value>mapreduce_shuffle</value>

                                         </property>

                       </configuration>


    此处添加主控端主机名字(namenode节点的主机名)

    回首间---我错过了那片星海
  • 相关阅读:
    scrum立会报告+燃尽图(第三周第一次)
    scrum立会报告+燃尽图(第二周第七次)
    scrum立会报告+燃尽图(第二周第六次)
    scrum立会报告+燃尽图(第二周第五次)
    scrum立会报告+燃尽图(第二周第四次)
    006_for
    005_while
    003_if_else
    002_how to use getpass
    图像旋转
  • 原文地址:https://www.cnblogs.com/Vowzhou/p/10153895.html
Copyright © 2011-2022 走看看