[
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.