[ 
https://issues.apache.org/jira/browse/HADOOP-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Owen O'Malley updated HADOOP-3534:
----------------------------------

    Attachment: hadoop-3534.patch

I think it is better to separate the control flow in the preferred way.

{code}
try {
  ...
  f.close()
} catch (IOException ie) {
  IOUtils.cleanup(LOG, f);
}
{code}

> The namenode ignores ioexceptions in close
> ------------------------------------------
>
>                 Key: HADOOP-3534
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3534
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Owen O'Malley
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: 3534_20080613.patch, hadoop-3534.patch
>
>
> The namenode node in FSNamesystem.close ignores and IOExceptions from closing 
> the namespace.
> {code}
>     IOUtils.close(LOG, dir);
> {code}
> which only logs any exceptions in dir.close() at the debug level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to