[ https://issues.apache.org/jira/browse/HDFS-7874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
J.Andreina updated HDFS-7874: ----------------------------- Attachment: HDFS-7874.1.patch While restarting namenode with "rolling upgrade started" option , createdRollbackImages variable is hardcoded to false . {noformat} void startRollingUpgradeInternal(long startTime) throws IOException { checkRollingUpgrade("start rolling upgrade"); getFSImage().checkUpgrade(this); setRollingUpgradeInfo(false, startTime); } {noformat} Have given an initial patch : checking for the rollback fs image existance. Please review the patch. > Even-though rollback image is created, after restarting namenode with > "rollingUpgrade started" option , createdRollbackImages is set to false. > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-7874 > URL: https://issues.apache.org/jira/browse/HDFS-7874 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: J.Andreina > Assignee: J.Andreina > Attachments: HDFS-7874.1.patch > > > Step 1: Prepare rolling upgrade using "hdfs dfsadmin -rollingUpgrade prepare" > . Rollback image will be created and UI displays as follows > {noformat} > Rolling upgrade started at 3/3/2015, 11:47:03 AM. > Rollback image has been created. Proceed to upgrade daemons. > {noformat} > Step 2: Shutdown SNN and NN > Step 3: Start NN with the "hdfs namenode -rollingUpgrade started" option. > Issue: > ====== > Eventhough rollback image exist, restarting namenode with "rollingUpgrade > started" option, on UI "rollback image not created" is displayed. > {noformat} > Rolling upgrade started at 3/3/2015, 11:47:03 AM. > Rollback image has not been created. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)