hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-883) Datanode shutdown should log problems with Storage.unlockAll()
Date Fri, 08 Jan 2010 17:56:54 GMT

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

Steve Loughran updated HDFS-883:
--------------------------------

    Attachment: HDFS-883.patch

Patch logs at warn level. No tests, not unless someone starts simulating storage failures.


{code}
       try {
         this.storage.unlockAll();
       } catch (IOException ie) {
+        LOG.warn("Exception when unlocking storage: " + ie,
+                 ie);
       }
     }
{code}

> Datanode shutdown should log problems with Storage.unlockAll()
> --------------------------------------------------------------
>
>                 Key: HDFS-883
>                 URL: https://issues.apache.org/jira/browse/HDFS-883
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>    Affects Versions: 0.22.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HDFS-883.patch
>
>
> When shutting down, Datanode calls {{Storage.unlockAll()}}, but discards any exceptions
thrown in the process.
> These exceptions could be useful in diagnosing problems, and should be logged.

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


Mime
View raw message