HDFS-12793. Ozone : TestSCMCli is failing consistently. Contributed by Chen Liang.

This commit is contained in:
Yiqun Lin 2017-11-09 18:59:10 +08:00 committed by Owen O'Malley
parent e395244e95
commit 761926db2c
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ public class ContainerMapping implements Mapping {
ContainerInfo updatedContainer = containerStateManager
.updateContainerState(containerInfo, event);
containerStore.put(dbKey, updatedContainer.getProtobuf().toByteArray());
return containerInfo.getState();
return updatedContainer.getState();
} catch (LeaseException e) {
throw new IOException("Lease Exception.", e);
} finally {