[ 
https://issues.apache.org/jira/browse/HDFS-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180991#comment-13180991
 ] 

Jakob Homan commented on HDFS-1910:
-----------------------------------

bq. The error clearly isn't all that obvious, given that this bug existed for 
quite a while without being noticed/fixed.
Not really.  Something being done twice is easier to overlook than something 
not being done.  Assuming the second time overwrites the first, you end up with 
what you expect: one copy of the fsimage.  
                
> when dfs.name.dir and dfs.name.edits.dir are same fsimage will be saved twice 
> every time
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-1910
>                 URL: https://issues.apache.org/jira/browse/HDFS-1910
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.21.0
>            Reporter: Gokul
>            Priority: Minor
>              Labels: critical-0.22.0
>             Fix For: 0.22.1
>
>         Attachments: saveImageOnce-v0.22.patch
>
>
> when image and edits dir are configured same, the fsimage flushing from 
> memory to disk will be done twice whenever saveNamespace is done. this may 
> impact the performance of backupnode/snn where it does a saveNamespace during 
> every checkpointing time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to