HDFS-16501. Print the exception when reporting a bad block (#4062)
Reviewed-by: tomscut <litao@bigo.sg>
This commit is contained in:
parent
ef8bff0df9
commit
45ce1cce50
|
@ -293,7 +293,7 @@ public class VolumeScanner extends Thread {
|
|||
volume, block);
|
||||
return;
|
||||
}
|
||||
LOG.warn("Reporting bad {} on {}", block, volume);
|
||||
LOG.warn("Reporting bad {} on {}", block, volume, e);
|
||||
scanner.datanode.handleBadBlock(block, e, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue