[ https://issues.apache.org/jira/browse/HADOOP-5963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-5963: ------------------------------------------- Resolution: Fixed Fix Version/s: 0.21.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I have committed this. Thanks, Boris! > unnecessary exception catch in NNBench > -------------------------------------- > > Key: HADOOP-5963 > URL: https://issues.apache.org/jira/browse/HADOOP-5963 > Project: Hadoop Core > Issue Type: Bug > Components: test > Reporter: Boris Shkolnik > Assignee: Boris Shkolnik > Priority: Minor > Fix For: 0.21.0 > > Attachments: Hadoop-5963.patch > > > NNBench.createControlFiles - catches Exception (even though only IOException > is thrown) and then throws a new IOException with message from original. This > seems unnecessary and lossfull, because we loose stack info form the original > exception. > Suggestion - remove the catch part of try block. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.