Skip to content

Commit

Permalink
HDFS-16501. Print the exception when reporting a bad block (apache#4062)
Browse files Browse the repository at this point in the history
Reviewed-by: tomscut <litao@bigo.sg>
  • Loading branch information
liubingxing authored and HarshitGupta11 committed Nov 28, 2022
1 parent b2bec77 commit dc00168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public void handle(ExtendedBlock block, IOException e) {
volume, block);
return;
}
LOG.warn("Reporting bad {} on {}", block, volume);
LOG.warn("Reporting bad {} on {}", block, volume, e);
scanner.datanode.handleBadBlock(block, e, true);
}
}
Expand Down

0 comments on commit dc00168

Please sign in to comment.