标签:export 用法 分布 int manager 格式 关闭 java 启动服务
#set hadoop enviornment
export HADOOP_HOME=/home/bduser/model/hadoop-2.7.6
PATH=$PATH:${HADOOP_HOME}/bin:${HADOOP_HOME}/sbin
<configuration> <property> <name>dfs.namenode.secondary.http-address</name> <value>hadoop100:9001</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>dfs.namenode.name.dir</name> <value>/home/bduser/model/hadoop-2.7.6/dfs/name</value> </property> <property> <name>dfs.datanode.data.dir</name> <value>/home/bduser/model/hadoop-2.7.6/dfs/data</value> </property> <property> <name>dfs.namenode.checkpoint.dir</name> <value>/home/bduser/model/hadoop-2.7.6/dfs/secondaryName</value> </property> <property> <name>dfs.hosts</name> <value>/home/user/modules/hadoop/etc/hadoop/dfs</value> </property> <property> <name>dfs.hosts.exclude</name> <value>/home/user/modules/hadoop/etc/hadoop/dfs.hosts.exclude</value> </property> </configuration>
<configuration> <property> <name>fs.default.name</name> <value>hdfs://hadoop100:9000</value> </property> <property> <name>net.topology.node.switch.mapping.impl</name> <value>hdfs.RackPerception</value> </property> </configuration>
<configuration> <property> <name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> </property> <property> <name>yarn.resourcemanager.hostname</name> <value>hadoop100</value> </property> </configuration>
标签:export 用法 分布 int manager 格式 关闭 java 启动服务
原文地址:https://www.cnblogs.com/zhenzhunaichabujiatang/p/13873566.html