博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
配置SecondaryNameNode和NameNode分离
阅读量:7099 次
发布时间:2019-06-28

本文共 981 字,大约阅读时间需要 3 分钟。

hot3.png

环境:Hadoop1.2.1
配置SecondaryNameNode节点
[grid@hadoop1 hadoop-1.2.1]$ cat ./conf/mastershadoop2

配置NameNode节点、同步检查时间

[grid@hadoop1 hadoop-1.2.1]$ cat ./conf/core-site.xml
fs.checkpoint.period
20
The number of seconds between two periodic checkpoints.
fs.default.name
hdfs://hadoop1:9000
hadoop.tmp.dir
/home/grid/hadoop-1.2.1/tmp

配置 dfs.http.address,如果不配置,secondary namenode同步文件夹永远为空

[grid@hadoop1 hadoop-1.2.1]$ cat ./conf/hdfs-site.xml
dfs.http.address
hadoop1:50070
The address and the base port where the dfs namenode web ui will listen on.If the port is 0 then the server will start on a free port.
dfs.replication
2

转载于:https://my.oschina.net/zc741520/blog/363269

你可能感兴趣的文章
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
查看>>
蓦然回首
查看>>
[转] Meida视频加密二-Blob对象
查看>>
JavaScript 变量、函数与原型链
查看>>
saltstack Key管理工具-salt-key
查看>>
WWDC19 -224-iOS 13 Presentations 适配
查看>>
Mybatis异常There is no getter for property named 'XXX' in 'class java.lang.String'
查看>>
jQuery初始化
查看>>
[转载]Linux内存高,触发oom-killer问题解决
查看>>
帮助小白快速理解多线程
查看>>
Android系统移植与驱动开发概述
查看>>
Codeforces 432D Prefixes and Suffixes kmp
查看>>
【poj解题】1028
查看>>
ASPxGridViewExporter帮你实现 Dev ASPxGridView的数据导出(一)
查看>>
Python专讲:Python爬虫抓取技术的门道
查看>>
Ajax
查看>>
块级元素或者行内元素在设置float属性之后是否改变元素的性质?
查看>>
免费论文查重
查看>>
[转]gcc -ffunction-sections -fdata-sections -Wl,–gc-sections 参数详解
查看>>
【2012百度之星资格赛】G:聊天就是Repeat
查看>>