hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x...@apache.org
Subject hadoop git commit: HFDS-13007. Ozone: Fix TestKeySpaceManager#testKSMInitializationFailure. Contributed by Xiaoyu Yao.
Date Thu, 11 Jan 2018 16:39:28 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 f4369776d -> d3e0b7725


HFDS-13007. Ozone: Fix TestKeySpaceManager#testKSMInitializationFailure. Contributed by Xiaoyu
Yao.


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

Branch: refs/heads/HDFS-7240
Commit: d3e0b77259ea339762d7dbdcd6e202f356cdd2b3
Parents: f436977
Author: Xiaoyu Yao <xyao@apache.org>
Authored: Thu Jan 11 08:39:04 2018 -0800
Committer: Xiaoyu Yao <xyao@apache.org>
Committed: Thu Jan 11 08:39:04 2018 -0800

----------------------------------------------------------------------
 .../test/java/org/apache/hadoop/ozone/ksm/TestKeySpaceManager.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/d3e0b772/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/ksm/TestKeySpaceManager.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/ksm/TestKeySpaceManager.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/ksm/TestKeySpaceManager.java
index 8d3d2e6..c8427f3 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/ksm/TestKeySpaceManager.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/ksm/TestKeySpaceManager.java
@@ -1180,6 +1180,7 @@ public class TestKeySpaceManager {
     Path metaDirPath = Paths.get(path, "ksm-meta");
     config.set(OzoneConfigKeys.OZONE_METADATA_DIRS, metaDirPath.toString());
     config.setBoolean(OzoneConfigKeys.OZONE_ENABLED, true);
+    config.set(ScmConfigKeys.OZONE_SCM_CLIENT_ADDRESS_KEY, "127.0.0.1:0");
     config.set(ScmConfigKeys.OZONE_SCM_BLOCK_CLIENT_ADDRESS_KEY,
         conf.get(ScmConfigKeys.OZONE_SCM_BLOCK_CLIENT_ADDRESS_KEY));
     exception.expect(KSMException.class);


---------------------------------------------------------------------
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