hadoop完全分布式安装部署-笔记

网友投稿 241 2022-11-23

hadoop完全分布式安装部署-笔记

规划: [hadoop@db01 ~]$ cat /etc/hosts127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.100.231         db01        #(namenode,datanode,JobHistoryServer,nodemanager)192.168.100.232         db02        #(resourcemanager,datanode,nodemanager)192.168.100.233         db03        #(SecondaryNameNode,datanode,nodemanager)192.168.100.234         db04        #(nodemanager,datanode)192.168.100.235         db05        #(nodemanager,datanode) 配置文件: [hadoop@db01 hadoop-2.5.0]$ cat etc/hadoop/core-site.xml                 fs.defaultFS            hdfs://db01:9000                            hadoop.tmp.dir                /usr/local/hadoop-2.5.0/data/tmp                                fs.trash.interval                7000        [hadoop@db01 hadoop-2.5.0]$ cat etc/hadoop/hdfs-site.xml                         dfs.namenode.secondary.db03:50090        [hadoop@db01 hadoop-2.5.0]$ cat etc/hadoop/yarn-site.xml                 yarn.nodemanager.aux-services                mapreduce_shuffle                            yarn.resourcemanager.hostname                db02                            yarn.log-aggregation-enable                true                                yarn.log-aggregation.retain-seconds                600000        [hadoop@db01 hadoop-2.5.0]$ cat etc/hadoop/mapred-site.xml                 mapreduce.framework.name                yarn                            mapreduce.jobhistory.address                db01:10020                                mapreduce.jobhistory.webapp.address                db01:19888        [hadoop@db01 hadoop-2.5.0]$ cat etc/hadoop/slaves db01db02db03db04db05 并且在(etc/hadoop/hadoop-env.sh  etc/hadoop/mapred-env.sh  etc/hadoop/yarn-env.sh)文件中配置相应的JAVA_HOME信息。

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:基于FPGA器件和VHDL语言实现的图像采集和显示系统的设计
下一篇:hadoop HA架构安装部署(QJM HA)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~