You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2013/04/04 00:37:38 UTC
svn commit: r1464223 - in /incubator/ambari/trunk: CHANGES.txt
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterStateEntity.java
Author: smohanty
Date: Wed Apr 3 22:37:38 2013
New Revision: 1464223
URL: http://svn.apache.org/r1464223
Log:
AMBARI-1780. POSTing new cluster returns 500 exception. (smohanty)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterStateEntity.java
Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1464223&r1=1464222&r2=1464223&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Apr 3 22:37:38 2013
@@ -544,6 +544,8 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1780. POSTing new cluster returns 500 exception. (smohanty)
+
AMBARI-1781. Ambari Server should work with MySQL and Oracle where the
Ambari Server data might be stored. (smohanty)
Modified: incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterStateEntity.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterStateEntity.java?rev=1464223&r1=1464222&r2=1464223&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterStateEntity.java (original)
+++ incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterStateEntity.java Wed Apr 3 22:37:38 2013
@@ -32,11 +32,11 @@ public class ClusterStateEntity {
@Basic
@Column(name = "current_cluster_state", insertable = true, updatable = true)
- private String currentClusterState;
+ private String currentClusterState = "";
@Basic
@Column(name = "current_stack_version", insertable = true, updatable = true)
- private String currentStackVersion;
+ private String currentStackVersion = "";
@OneToOne
@JoinColumn(name = "cluster_id", referencedColumnName = "cluster_id", nullable = false)