hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Kelly (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1725) Cleanup FSImage construction
Date Fri, 04 Mar 2011 12:12:36 GMT
Cleanup FSImage construction
----------------------------

                 Key: HDFS-1725
                 URL: https://issues.apache.org/jira/browse/HDFS-1725
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Ivan Kelly
            Assignee: Ivan Kelly
             Fix For: 0.23.0


FSImage construction is messy. Sometimes the storagedirectories in use are set straight away,
sometimes they are not. This makes it hard for anything under FSImage (i.e. FSEditLog) to
make assumptions about what it can use. Therefore, this patch makes FSImage set the storage
directories in use during construction, and never allows them to change. If you want to change
storagedirectories you create a new image.

Also, all the construction code should be the same with the only difference being the parameters
passed. When not passed, these should get sensible defaults.

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

        

Mime
View raw message