데이터노드의 hdfs-site.xml 설정을 확인 하던중 이상한 점을 발견
사용디스크 설정이 file:///home/hadoop/data,file:///data1/data,file:///data2/data,file:///data3/data 되어있지만
실제 존재하는 디스크는 file:///home/hadoop/data,file:///data1/data
그리고 dfs.datanode.failed.volumes.tolerated 설정이 3으로 되어있음. 디스크 4개가 고장나면 데이터노드 서버스를
종료한다는 의미인데, 실제로 디스크가 2개밖에 존재하지 않는 상황에서 이런 설정을 하면 문제가 없는건가?
<property>
<name>dfs.datanode.data.dir</name>
<value>file:///home/hadoop/data,file:///data1/data,file:///data2/data,file:///data3/data</value>
<description>
If this is a comma-delimited list of directories then the name table is replicated in all of the directories, for redundancy.
</description>
</property>
<property>
<name>dfs.datanode.failed.volumes.tolerated</name>
<value>3</value>
<description>
The number of volumes that are allowed to fail before a datanode stops offering service.
By default any volume failure will cause a datanode to shutdown.
</description>
</property>
'Hadoop' 카테고리의 다른 글
블록 사이즈가 다른 클러스터 간의 distcp (0) | 2015.05.13 |
---|---|
DataNode 장애발생시 잡 재실행 (0) | 2015.02.06 |
Hadoop 관련 유용한 커맨드 모음 (0) | 2015.01.09 |
org.apache.hadoop.hdfs.BlockMissingException 에러 (0) | 2015.01.08 |