Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Dear HDFS developers, we are developing a tool to detect exception-related bugs in Java. Our prototype has spotted a few throw statements whose exception class does not accurately describe why they are thrown. This can be dangerous since it makes correctly handling them challenging. For example, in an old bug, HDFS-8224, throwing a general IOException makes it difficult to perform data recovery specifically when a metadata file is corrupted.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-16300 ebugs automated bug checker is reporting exception issues
- Open
There are no Sub-Tasks for this issue.