没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
1.修改 conf/core-site.xml,增加
Xml 代码
1. <property>
2. <name>fs.checkpoint.period</name>
3. <value>3600</value>
4. <description>The number of seconds between two periodic checkpoints.
</description>
5. </property>
6. <property>
7. <name>fs.checkpoint.size</name>
8. <value>67108864</value>
9. <description>The size of the current edit log (in bytes) that trigge
rs a periodic checkpoint even if the fs.checkpoint.period hasn't expir
ed. </description>
10. </property>
11.
12. <property>
13. <name>fs.checkpoint.dir</name>
14. <value>/data/work/hdfs/namesecondary</value>
15. <description>Determines where on the local filesystem the DFS second
ary name node should store the temporary images to merge. If this
is a comma-delimited list of directories then the image is replicated i
n all of the directories for redundancy. </description>
16. </property>
fs.checkpoint.period 表示多长时间记录一次 hdfs 的镜像。默认是 1 小时。
fs.checkpoint.size 表示一次记录多大的 size,默认 64M
2.修改 conf/hdfs-site.xml,增加
Xml 代码
1. <property>
2. <name>dfs.http.address</name>
3. <value>master:50070</value>
4. <description> The address and the base port where the dfs namenod
e web ui will listen on. If the port is 0 then the server will start on a
free port. </description>
5. </property>
0.0.0.0 改为 namenode 的 IP 地址
资源评论
小小哭包
- 粉丝: 1900
- 资源: 3864
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功