首页 > 其他 > 详细

datanode集群新加硬盘

时间:2015-03-11 14:22:05      阅读:269      评论:0      收藏:0      [点我收藏+]

将硬盘挂载到指定目录,如/data

 

在hdfs-site.xml中修改

<property>

  <name>dfs.datanode.data.dir</name>

  <value>file://${hadoop.tmp.dir}/dfs/data,/data</value>

  <description>Determines where on the local filesystem an DFS data node

  should store its blocks.  If this is a comma-delimited

  list of directories, then data will be stored in all named

  directories, typically on different devices.

  Directories that do not exist are ignored.

  </description>

</property>

 

重启集群

datanode集群新加硬盘

原文:http://www.cnblogs.com/qhg1/p/4329701.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!