Hadoop 2.6.4 分布式搭建
来源:互联网 发布:西甲球员数据统计 编辑:程序博客网 时间:2024/05/16 04:51
多集群安装(3个节点)
节点详情:
vm01---192.168.110.101(master)vm02---192.168.110.102(SecondNamenode)vm03---192.168.110.103在slave里配置SecondNamenode
master:192.168.110.101slaves:vm02:192.168.110.102vm03:192.168.110.103
core-site.xml
<configuration> <property> <name>fs.defaultFS</name> <value>hdfs://192.168.110.101:9000</value> </property> <property> <name>hadoop.tmp.dir</name> <value>/opt/hadoop-2.6.4/tmp</value> </property> <property> <name>fs.checkpoint.period</name> <value>3600</value> </property> <property> <name>fs.checkpoint.size</name> <value>67108864</value> </property></configuration>
hdfs-site.xml
<configuration> <property> <name>dfs.replication</name> <value>3</value> </property> <property> <name>dfs.http.address</name> <value>vm01:50070</value> </property> <property> <name>dfs.namenode.secondary.http-address</name> <value>vm02:50090</value> </property> <property> <name>dfs.namenode.name.dir</name> <value>/opt/hadoop-2.6.4/name</value> </property> <property> <name>dfs.datanode.data.dir</name> <value>/opt/hadoop-2.6.4/data</value> </property><property> <name>dfs.permissions</name> <value>false</value> </property></configuration>
yarn-site.xml
<configuration><!-- Site specific YARN configuration properties --> <property> <name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> </property> <property> <name>yarn.resourcemanager.hostname</name> <value>vm01</value> </property> <!-- 是否启用日志聚集功能 --> <property> <name>yarn.log-aggregation-enable</name> <value>true</value> </property> <!-- 日志保留时间(单位为秒) --> <property> <name>yarn.log-aggregation.retain-seconds</name> <value>106800</value> </property> <!-- <property> <name>yarn.resourcemanager.webapp.address</name> <value>vm02:8088</value> </property> --> <property> <name>yarn.resourcemanager.address</name> <value>vm01:8032</value> </property> <property> <name>yarn.resourcemanager.scheduler.address</name> <value>vm01:8030</value> </property> <property> <name>yarn.resourcemanager.resource-tracker.address</name> <value>vm01:8031</value> </property></configuration>
mapred-site.xml
<configuration> <property> <name>mapreduce.framework.name</name> <value>yarn</value> </property> <property> <name>mapred.map.child.java.opts</name> <value>-Xmx1024m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8883</value> </property> <property> <name>mapred.tasktracker.map.tasks.maximum</name> <value>1</value> </property> <property> <name>mapred.reduce.child.java.opts</name> <value>-Xmx1024m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8884</value> </property> <property> <name>mapred.tasktracker.reduce.tasks.maximum</name> <value>1</value> </property></configuration>
阅读全文
0 0
- Hadoop 2.6.4 分布式搭建
- Centos7 下 Hadoop 2.6.4 分布式集群环境搭建
- Centos7 下 Hadoop 2.6.4 分布式集群环境搭建
- Hadoop伪分布式,分布式搭建
- 搭建hadoop-2.6.0分布式集群
- Hadoop 2.6.2 完全分布式环境搭建
- hadoop-2.6分布式集群环境搭建
- hadoop 2.6.5 HA 分布式搭建
- hadoop 2.6.0 伪分布式搭建
- Hadoop-2.6.0完全分布式搭建
- 4台Hadoop集群完全分布式搭建
- Hadoop伪分布式搭建-(4)
- hadoop分布式集群搭建
- hadoop伪分布式搭建
- hadoop伪分布式搭建
- hadoop-分布式环境搭建
- hadoop 伪分布式搭建
- hadoop分布式集群搭建
- leetcode—Letter Combinations of a Phone Number
- Visual Studio中使用开源二维码QR库libqr
- Android下载更新(兼容7.0文件,支持5.0通知栏显示Icon)
- 像扫把星一样
- Monkeyrunner实现UI自动化
- Hadoop 2.6.4 分布式搭建
- 单例模式数据库
- WINEAPI VB录音 程序 X64,然后请教下WIN10下为何10多分钟产生UNPREPARE错误
- ubuntu修改时区和时间的方法
- lintcode---Sum of first K even-length Palindrome numbers
- LintCode 1 : A + B 问题 (java实现)
- Oracle sqlplus 常用命令总结
- linux top 命令详解
- 编写qml到安卓手机的一些小心得续