hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yq...@apache.org
Subject hadoop git commit: HDFS-12793. Ozone : TestSCMCli is failing consistently. Contributed by Chen Liang.
Date Thu, 09 Nov 2017 11:54:16 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 6c62d74d5 -> f3f663cc1


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f3f663cc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f3f663cc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f3f663cc

Branch: refs/heads/HDFS-7240
Commit: f3f663cc1d86c639310ab94b4cd5c0e81c4419ff
Parents: 6c62d74
Author: Yiqun Lin <yqlin@apache.org>
Authored: Thu Nov 9 18:59:10 2017 +0800
Committer: Yiqun Lin <yqlin@apache.org>
Committed: Thu Nov 9 18:59:10 2017 +0800

----------------------------------------------------------------------
 .../org/apache/hadoop/ozone/scm/container/ContainerMapping.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f3f663cc/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/container/ContainerMapping.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/container/ContainerMapping.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/container/ContainerMapping.java
index b77c5b1..98d6396 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/container/ContainerMapping.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/container/ContainerMapping.java
@@ -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 {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message