ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject ambari git commit: AMBARI-12930 Make agent.check.remote.mounts=false the default (dsen)
Date Mon, 31 Aug 2015 15:09:00 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 0d5b3ce5b -> 7d58721c3


AMBARI-12930 Make agent.check.remote.mounts=false the default (dsen)


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

Branch: refs/heads/branch-2.1
Commit: 7d58721c382a1588efbad7e2800871f45c4d46ce
Parents: 0d5b3ce
Author: Dmytro Sen <dsen@apache.org>
Authored: Mon Aug 31 17:49:16 2015 +0300
Committer: Dmytro Sen <dsen@apache.org>
Committed: Mon Aug 31 18:08:50 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/configuration/Configuration.java | 2 +-
 .../java/org/apache/ambari/server/agent/TestHeartbeatHandler.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d58721c/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
b/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
index 0b0ee95..06e153b 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
@@ -130,7 +130,7 @@ public class Configuration {
   public static final String ENABLE_AUTO_AGENT_CACHE_UPDATE_KEY = "agent.auto.cache.update";
   public static final String ENABLE_AUTO_AGENT_CACHE_UPDATE_DEFAULT = "true";
   public static final String CHECK_REMOTE_MOUNTS_KEY = "agent.check.remote.mounts";
-  public static final String CHECK_REMOTE_MOUNTS_DEFAULT = "true";
+  public static final String CHECK_REMOTE_MOUNTS_DEFAULT = "false";
   public static final String CHECK_MOUNTS_TIMEOUT_KEY = "agent.check.mounts.timeout";
   public static final String CHECK_MOUNTS_TIMEOUT_DEFAULT = "0";
   public static final String SERVER_DB_NAME_KEY = "server.jdbc.database_name";

http://git-wip-us.apache.org/repos/asf/ambari/blob/7d58721c/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
b/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
index cb418b4..4a4f8c9 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
@@ -911,7 +911,7 @@ public class TestHeartbeatHandler {
     Map<String, String> config = rr.getAgentConfig();
     assertFalse(config.isEmpty());
     assertTrue(config.containsKey(Configuration.CHECK_REMOTE_MOUNTS_KEY));
-    assertTrue("true".equals(config.get(Configuration.CHECK_REMOTE_MOUNTS_KEY)));
+    assertTrue("false".equals(config.get(Configuration.CHECK_REMOTE_MOUNTS_KEY)));
     assertTrue(config.containsKey(Configuration.CHECK_MOUNTS_TIMEOUT_KEY));
     assertTrue("0".equals(config.get(Configuration.CHECK_MOUNTS_TIMEOUT_KEY)));
     assertTrue("true".equals(config.get(Configuration.ENABLE_AUTO_AGENT_CACHE_UPDATE_KEY)));


Mime
View raw message