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

Tsz Wo (Nicholas), SZE commented on HDFS-3940:
----------------------------------------------

I guess you mean FSNamesystem#close.  Then, the BlockManager.shutdown() in the 
trunk patch should be removed.  Otherwise, blocksMap.close() is called in both 
close() and shutdown() in BlockManager.

+1 on the b1 patch.
                
> Add Gset#clear method and clear the block map when namenode is shutdown
> -----------------------------------------------------------------------
>
>                 Key: HDFS-3940
>                 URL: https://issues.apache.org/jira/browse/HDFS-3940
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Suresh Srinivas
>            Priority: Minor
>             Fix For: 2.0.5-beta
>
>         Attachments: HDFS-3940.b1.patch, HDFS-3940.branch-1.patch, 
> HDFS-3940.patch, HDFS-3940.patch
>
>
> Per HDFS-3936 it would be useful if GSet has a clear method so BM#close could 
> clear out the LightWeightGSet.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to