hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 郭东东 <guodongd...@360.cn>
Subject 答复: how to find corrupt block in java code
Date Mon, 02 Mar 2015 07:41:23 GMT
$HADOOP_PREFIX/bin/hdfs fsck  -list-corruptfileblocks


发件人: Drake민영근 [mailto:drake.min@nexr.com]
发送时间: 2015年3月2日 15:31
收件人: user; cho ju il
主题: Re: how to find corrupt block in java code

Hi, cho

I think you may start digging from "org.apache.hadoop.hdfs.tools.DFSck.java" and "org.apache.hadoop.hdfs.server.namenode.FsckServlet.java".

Good luck!

Drake 민영근 Ph.D
kt NexR

On Mon, Mar 2, 2015 at 3:22 PM, cho ju il <tjstory@kgrid.co.kr<mailto:tjstory@kgrid.co.kr>>
wrote:

hadoop version 2.4.1



I can find corrupt files.

    $HADOOP_PREFIX/bin/hdfs fsck / -list-corruptfileblocks



How to find corrupt block in java code ?












[http://mail.naver.com/readReceipt/notify/?img=AZeZ1zFdMrYsbrJR%2BHFGhAF4pAvZFA2qa6tdp6urMqEZK4uwM6u%2FM6UrFzurF6JgMX%2B0Mogr74lR74lcWNFlbX30WLloWrdQaXkqpBig1zJvWrem74JmM6FcpLlTb4b%3D.gif]


Mime
View raw message