You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2014/11/15 00:48:53 UTC

ambari git commit: AMBARI-8337. Add wizard hangs adding hosts with NPE. (Nate via mahadev)

Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 1901f2a70 -> 56beaef95


AMBARI-8337. Add wizard hangs adding hosts with NPE. (Nate via mahadev)


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

Branch: refs/heads/branch-1.7.0
Commit: 56beaef955adb4cc5a0dca2cb0378871dfb50039
Parents: 1901f2a
Author: Mahadev Konar <ma...@apache.org>
Authored: Fri Nov 14 15:48:39 2014 -0800
Committer: Mahadev Konar <ma...@apache.org>
Committed: Fri Nov 14 15:48:39 2014 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/ambari/server/state/host/HostImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/56beaef9/ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java
index 619859c..098a7a4 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java
@@ -121,7 +121,7 @@ public class HostImpl implements Host {
   
   
   // In-memory status, based on host components states
-  private String status;
+  private String status = HealthStatus.UNKNOWN.name();
 
   // In-memory prefix of log file paths that is retrieved when the agent registers with the server
   private String prefix;