Browse Source

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

Mahadev Konar 10 years ago
parent
commit
135b00e22c

+ 1 - 1
ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java

@@ -121,7 +121,7 @@ public class HostImpl implements Host {
   private Map<Long, MaintenanceState> maintMap = null;
 
   // 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;