saveNamespace should not throw IOE when only one storage directory fails to write VERSION file

Key: HDFS-2173
URL: https://issues.apache.org/jira/browse/HDFS-2173
Project: Hadoop HDFS
Issue Type: Sub-task
Affects Versions: Edit log branch (HDFS-1073), 0.23.0
Reporter: Todd Lipcon

This JIRA tracks a TODO in TestSaveNamespace. Currently, if, while writing the VERSION files in the storage directories, one of the directories fails, the entire operation throws IOE. This is unnecessary -- instead, just that directory should be marked as failed.

This is targeted to be fixed _after_ HDFS-1073 is merged to trunk, since it does not ever dataloss, and would rarely occur in practice (the dir would have to fail between writing the fsimage file and writing VERSION)

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
postedJul 20, '11 at 12:40a
activeJul 20, '11 at 12:40a

1 user in discussion

Todd Lipcon (JIRA): 1 post



site design / logo © 2022 Grokbase