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

Vinayakumar B commented on HDFS-5945:
-------------------------------------

Instead of extracting checking part to {{checkUpgrade()}} can't we use 
{{nn.getFSImage().isUpgradeFinalized()}} directly? This will avoid checking 
disks on RPC calls holding writeLock.


> Add rolling upgrade information to fsimage
> ------------------------------------------
>
>                 Key: HDFS-5945
>                 URL: https://issues.apache.org/jira/browse/HDFS-5945
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h5945_20140213.patch
>
>
> When rolling upgrade is in progress, the standby namenode may create 
> checkpoint.  The rolling upgrade information should be added to fsimage in 
> order to support namenode restart and continue rolling upgrade.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to