You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2016/03/02 03:24:04 UTC

[1/2] ambari git commit: Revert "AMBARI-15133. Functionality to purge operational logs from the ambari database. (Laszlo Puskas via stoader)"

Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 93aba403c -> 859345bad


http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/test.result
----------------------------------------------------------------------
diff --git a/ambari-server/test.result b/ambari-server/test.result
deleted file mode 100644
index c5384be..0000000
--- a/ambari-server/test.result
+++ /dev/null
@@ -1,5154 +0,0 @@
-[INFO] Scanning for projects...
-[WARNING] 
-[WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-server:jar:2.0.0.0-SNAPSHOT
-[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:properties-maven-plugin is missing. @ line 334, column 15
-[WARNING] 
-[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
-[WARNING] 
-[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
-[WARNING] 
-[INFO]                                                                         
-[INFO] ------------------------------------------------------------------------
-[INFO] Building Ambari Server 2.0.0.0-SNAPSHOT
-[INFO] ------------------------------------------------------------------------
-[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT is missing, no dependency information available
-[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b07-SNAPSHOT is missing, no dependency information available
-[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b08-SNAPSHOT is missing, no dependency information available
-Downloading: https://oss.sonatype.org/content/groups/staging/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.pom
-
Downloading: http://repo.spring.io/milestone/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.pom
-
Downloading: https://repository.apache.org/content/groups/staging/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.pom
-4/11 KB   
8/11 KB   
8/11 KB   
11/11 KB   
           
Downloaded: https://repository.apache.org/content/groups/staging/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.pom (11 KB at 3.5 KB/sec)
-Downloading: https://oss.sonatype.org/content/groups/staging/org/apache/commons/commons-parent/37/commons-parent-37.pom
-           
Downloading: http://repo.spring.io/milestone/org/apache/commons/commons-parent/37/commons-parent-37.pom
-           
Downloading: https://repository.apache.org/content/groups/staging/org/apache/commons/commons-parent/37/commons-parent-37.pom
-4/62 KB    
8/62 KB   
8/62 KB   
12/62 KB   
14/62 KB   
16/62 KB   
20/62 KB   
22/62 KB   
24/62 KB   
28/62 KB   
30/62 KB   
32/62 KB   
36/62 KB   
38/62 KB   
40/62 KB   
44/62 KB   
45/62 KB   
48/62 KB   
52/62 KB   
53/62 KB   
56/62 KB   
60/62 KB   
61/62 KB   
62/62 KB   
           
Downloaded: https://repository.apache.org/content/groups/staging/org/apache/commons/commons-parent/37/commons-parent-37.pom (62 KB at 26.5 KB/sec)
-Downloading: https://oss.sonatype.org/content/groups/staging/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar
-           
Downloading: http://repo.spring.io/milestone/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar
-           
Downloading: https://repository.apache.org/content/groups/staging/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar
-4/52 KB    
8/52 KB   
8/52 KB   
12/52 KB   
14/52 KB   
16/52 KB   
20/52 KB   
22/52 KB   
24/52 KB   
28/52 KB   
30/52 KB   
32/52 KB   
36/52 KB   
38/52 KB   
40/52 KB   
44/52 KB   
45/52 KB   
48/52 KB   
52/52 KB   
           
Downloaded: https://repository.apache.org/content/groups/staging/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar (52 KB at 9.7 KB/sec)
-[INFO] 
-[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ambari-server ---
-[INFO] Deleting /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/target
-[INFO] Deleting /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server (includes = [**/*.pyc], excludes = [])
-[INFO] 
-[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-version) @ ambari-server ---
-[INFO] 
-[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-release) @ ambari-server ---
-[INFO] 
-[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ ambari-server ---
-[INFO] 
-[INFO] --- build-helper-maven-plugin:1.8:regex-property (regex-property) @ ambari-server ---
-[INFO] 
-[INFO] --- build-helper-maven-plugin:1.8:regex-property (regex-schema-version) @ ambari-server ---
-[INFO] 
-[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ ambari-server ---
-[INFO] Checking for local modifications: skipped.
-[INFO] Updating project files from SCM: skipped.
-[INFO] Executing: /bin/sh -c cd /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server && git rev-parse --verify HEAD
-[INFO] Working directory: /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server
-[INFO] Storing buildNumber: 5ed6944f6555d9e403aad23ea662d524af15d914 at timestamp: 1456862548076
-[INFO] Executing: /bin/sh -c cd /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server && git rev-parse --verify HEAD
-[INFO] Working directory: /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server
-[INFO] Storing buildScmBranch: UNKNOWN
-[INFO] 
-[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ambari-server ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 76 resources
-[INFO] 
-[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ ambari-server ---
-[INFO] Changes detected - recompiling the module!
-[INFO] Compiling 1475 source files to /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/target/classes
-[WARNING] /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/src/main/java/org/apache/ambari/server/view/ViewContextImpl.java:[57,25] sun.security.krb5.KrbException is internal proprietary API and may be removed in a future release
-[WARNING] /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertHistoryResourceProvider.java:[55,33] sun.net.www.protocol.http.AuthenticationHeader is internal proprietary API and may be removed in a future release
-[WARNING] /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/src/main/java/org/apache/ambari/server/view/ViewContextImpl.java: Some input files use or override a deprecated API.
-[WARNING] /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/src/main/java/org/apache/ambari/server/view/ViewContextImpl.java: Recompile with -Xlint:deprecation for details.
-[WARNING] /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/StackVersionResponse.java: Some input files use unchecked or unsafe operations.
-[WARNING] /Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/StackVersionResponse.java: Recompile with -Xlint:unchecked for details.
-[INFO] 
-[INFO] --- eclipselink-staticweave-maven-plugin:1.0.4:weave (default) @ ambari-server ---
-[EL Finest]: jpa: 2016-03-01 21:02:46.315--ServerSession(529101472)--Thread(Thread[main,5,main])--Begin predeploying Persistence Unit ambari-server; session ambari-server; state Initial; factoryCount 0
-[EL Finest]: properties: 2016-03-01 21:02:46.328--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.weaving.changetracking; default value=true
-[EL Finest]: properties: 2016-03-01 21:02:46.328--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.weaving.lazy; default value=true
-[EL Finest]: properties: 2016-03-01 21:02:46.329--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.weaving.eager; default value=false
-[EL Finest]: properties: 2016-03-01 21:02:46.329--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.weaving.fetchgroups; default value=true
-[EL Finest]: properties: 2016-03-01 21:02:46.329--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.weaving.internal; default value=true
-[EL Finest]: properties: 2016-03-01 21:02:46.329--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.weaving.rest; default value=true
-[EL Finest]: properties: 2016-03-01 21:02:46.33--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.multitenant.tenants-share-emf; default value=true
-[EL Finest]: properties: 2016-03-01 21:02:46.33--ServerSession(529101472)--Thread(Thread[main,5,main])--property=eclipselink.multitenant.tenants-share-cache; default value=false
-[EL Finer]: metadata: 2016-03-01 21:02:46.348--ServerSession(529101472)--Thread(Thread[main,5,main])--Searching for default mapping file in file:/Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/target/classes/ (There is no English translation for this message.)
-[EL Finer]: metadata: 2016-03-01 21:02:46.41--ServerSession(529101472)--Thread(Thread[main,5,main])--Searching for default mapping file in file:/Users/stoader/Projects/Hortonworks/apache/ambari-commits/ambari/ambari-server/target/classes/ (There is no English translation for this message.)
-[EL Config]: metadata: 2016-03-01 21:02:47.072--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ViewInstanceDataEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.112--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field viewInstance] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewInstanceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.113--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostComponentDesiredStateEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.125--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field serviceComponentDesiredStateEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.127--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.127--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field desiredStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.127--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ClusterConfigMappingEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.128--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.129--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.TopologyHostInfoEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.129--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field topologyHostGroupEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.13--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.TopologyHostRequestEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.14--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field topologyHostTaskEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostTaskEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.141--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field topologyHostGroupEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.142--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field topologyLogicalRequestEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyLogicalRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.142--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostStateEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.144--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field hostEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.144--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.AlertNoticeEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.144--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field alertTarget] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertTargetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.146--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field alertHistory] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertHistoryEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.146--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.KerberosPrincipalEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.147--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field kerberosPrincipalHostEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.KerberosPrincipalHostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.147--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.WidgetEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.147--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.148--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field listWidgetLayoutUserWidgetEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.WidgetLayoutUserWidgetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.149--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.UpgradeGroupEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.15--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field upgradeEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.UpgradeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.15--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field upgradeItems] is being defaulted to: class org.apache.ambari.server.orm.entities.UpgradeItemEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.15--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostGroupConfigEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.152--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostGroup] is being defaulted to: class org.apache.ambari.server.orm.entities.HostGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.152--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ViewEntityEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.153--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field viewInstance] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewInstanceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.153--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ArtifactEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.156--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ClusterConfigEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.156--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.157--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field stack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.157--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field serviceConfigEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.158--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configGroupConfigMappingEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ConfigGroupConfigMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.158--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.159--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostComponentDesiredStateEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.159--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostComponentStateEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostComponentStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.16--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostVersionEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.16--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field hostStateEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.161--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostRoleCommandEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostRoleCommandEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.165--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field clusterEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.165--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ViewInstanceEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.166--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field resource] is being defaulted to: class org.apache.ambari.server.orm.entities.ResourceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.166--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field data] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewInstanceDataEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.167--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field properties] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewInstancePropertyEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.167--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field entities] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewEntityEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.167--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field view] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.168--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.AlertDefinitionEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.168--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field alertGroups] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.171--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.172--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ResourceEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.172--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field privileges] is being defaulted to: class org.apache.ambari.server.orm.entities.PrivilegeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.172--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field resourceType] is being defaulted to: class org.apache.ambari.server.orm.entities.ResourceTypeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.173--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.WidgetLayoutUserWidgetEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.174--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field widgetLayout] is being defaulted to: class org.apache.ambari.server.orm.entities.WidgetLayoutEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.174--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field widget] is being defaulted to: class org.apache.ambari.server.orm.entities.WidgetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.175--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RepositoryVersionEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.175--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field clusterVersionEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.175--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field children] is being defaulted to: class org.apache.ambari.server.orm.entities.RepositoryVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.176--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field parent] is being defaulted to: class org.apache.ambari.server.orm.entities.RepositoryVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.177--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostVersionEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.178--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field stack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.178--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostComponentStateEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.179--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field currentStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.179--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field serviceComponentDesiredStateEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.181--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.181--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RequestScheduleBatchRequestEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.214--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field requestScheduleEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestScheduleEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.214--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ViewParameterEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.216--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field view] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.217--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.BlueprintConfigEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.218--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field blueprint] is being defaulted to: class org.apache.ambari.server.orm.entities.BlueprintEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.218--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.UserEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.219--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field memberEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.MemberEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.22--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field principal] is being defaulted to: class org.apache.ambari.server.orm.entities.PrincipalEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.222--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ServiceDesiredStateEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.223--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field clusterServiceEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterServiceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.224--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field desiredStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.224--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.PrivilegeEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.225--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field principal] is being defaulted to: class org.apache.ambari.server.orm.entities.PrincipalEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.225--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field resource] is being defaulted to: class org.apache.ambari.server.orm.entities.ResourceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.225--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field permission] is being defaulted to: class org.apache.ambari.server.orm.entities.PermissionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.225--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostConfigMappingEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.227--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.KerberosPrincipalHostEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.228--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.229--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field principalEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.KerberosPrincipalEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.229--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ConfigGroupConfigMappingEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.231--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterConfigEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.231--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field configGroupEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ConfigGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.232--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.WidgetLayoutEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.232--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.233--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field listWidgetLayoutUserWidgetEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.WidgetLayoutUserWidgetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.234--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ConfigGroupHostMappingEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.236--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field configGroupEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ConfigGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.236--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.236--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RequestOperationLevelEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.237--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field requestEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.238--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostVersionEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.24--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.24--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field repositoryVersion] is being defaulted to: class org.apache.ambari.server.orm.entities.RepositoryVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.24--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.PermissionEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.241--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field authorizations] is being defaulted to: class org.apache.ambari.server.orm.entities.RoleAuthorizationEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.241--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field resourceType] is being defaulted to: class org.apache.ambari.server.orm.entities.ResourceTypeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.242--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RoleAuthorizationEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.243--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.SettingEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.243--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ServiceComponentHistoryEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.244--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field m_fromStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.244--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field m_serviceComponentDesiredStateEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.245--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field m_upgradeEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.UpgradeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.245--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field m_toStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.245--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RoleSuccessCriteriaEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.248--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field stage] is being defaulted to: class org.apache.ambari.server.orm.entities.StageEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.248--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.KerberosDescriptorEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.249--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.PrincipalEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.25--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field principalType] is being defaulted to: class org.apache.ambari.server.orm.entities.PrincipalTypeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.251--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field privileges] is being defaulted to: class org.apache.ambari.server.orm.entities.PrivilegeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.252--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ClusterServiceEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.255--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field serviceComponentDesiredStateEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.256--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.257--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field serviceDesiredStateEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.257--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.258--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterServiceEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterServiceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.258--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostComponentDesiredStateEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.259--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field serviceComponentHistory] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceComponentHistoryEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.259--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostComponentStateEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostComponentStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.259--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field desiredStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.26--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.AlertGroupEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.26--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field alertDefinitions] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertDefinitionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.261--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field alertTargets] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertTargetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.261--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostGroupEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.263--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configurations] is being defaulted to: class org.apache.ambari.server.orm.entities.HostGroupConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.263--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field blueprint] is being defaulted to: class org.apache.ambari.server.orm.entities.BlueprintEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.264--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field components] is being defaulted to: class org.apache.ambari.server.orm.entities.HostGroupComponentEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.264--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.TopologyRequestEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.264--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field topologyHostGroupEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.265--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field topologyLogicalRequestEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyLogicalRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.265--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ConfigGroupEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.266--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configGroupHostMappingEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ConfigGroupHostMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.266--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.266--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configGroupConfigMappingEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ConfigGroupConfigMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.267--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.MetainfoEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.267--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ResourceTypeEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.267--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.TopologyLogicalRequestEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.268--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field topologyHostRequestEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.268--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field topologyRequestEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.268--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.TopologyLogicalTaskEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.268--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field hostRoleCommandEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostRoleCommandEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.269--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field topologyHostTaskEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostTaskEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.269--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RequestResourceFilterEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.269--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field requestEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.27--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ServiceConfigEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.27--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.27--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field clusterConfigEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.276--ServerSession(529101472)--Thread(Thread[main,5,main])--The target class (reference) class for the element collection mapping element [field hostIds] is being defaulted to: class java.lang.Long.
-[EL Config]: metadata: 2016-03-01 21:02:47.277--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field stack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.277--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.UpgradeItemEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.278--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field upgradeGroupEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.UpgradeGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.278--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.StageEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.28--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field request] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.281--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field roleSuccessCriterias] is being defaulted to: class org.apache.ambari.server.orm.entities.RoleSuccessCriteriaEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.281--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostRoleCommands] is being defaulted to: class org.apache.ambari.server.orm.entities.HostRoleCommandEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.283--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.BlueprintEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.284--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configurations] is being defaulted to: class org.apache.ambari.server.orm.entities.BlueprintConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.285--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field hostGroups] is being defaulted to: class org.apache.ambari.server.orm.entities.HostGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.285--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field stack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.285--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.StackEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.285--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.UpgradeEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.288--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field upgradeGroupEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.UpgradeGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.288--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.GroupEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.289--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field memberEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.MemberEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.289--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field principal] is being defaulted to: class org.apache.ambari.server.orm.entities.PrincipalEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.289--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ExecutionCommandEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.289--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field hostRoleCommand] is being defaulted to: class org.apache.ambari.server.orm.entities.HostRoleCommandEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.289--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RequestEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.29--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field requestScheduleEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestScheduleEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.292--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field resourceFilterEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestResourceFilterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.292--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field stages] is being defaulted to: class org.apache.ambari.server.orm.entities.StageEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.292--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field requestOperationLevel] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestOperationLevelEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.292--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ViewResourceEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.293--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field view] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.294--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ClusterVersionEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.294--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.294--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field repositoryVersion] is being defaulted to: class org.apache.ambari.server.orm.entities.RepositoryVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.294--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.MemberEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.294--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field group] is being defaulted to: class org.apache.ambari.server.orm.entities.GroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.294--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field user] is being defaulted to: class org.apache.ambari.server.orm.entities.UserEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.295--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostGroupComponentEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.296--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostGroup] is being defaulted to: class org.apache.ambari.server.orm.entities.HostGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.296--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ViewEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.296--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field resources] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewResourceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.296--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field instances] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewInstanceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.297--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field permissions] is being defaulted to: class org.apache.ambari.server.orm.entities.PermissionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.297--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field parameters] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewParameterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.297--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field resourceType] is being defaulted to: class org.apache.ambari.server.orm.entities.ResourceTypeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.297--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.AlertHistoryEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.299--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field alertDefinition] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertDefinitionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.299--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.TopologyHostTaskEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.3--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field topologyLogicalTaskEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyLogicalTaskEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.3--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field topologyHostRequestEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.3--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.TopologyHostGroupEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.3--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field topologyHostRequestEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.301--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field topologyHostInfoEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyHostInfoEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.301--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field topologyRequestEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.301--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.PrincipalTypeEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.301--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ClusterStateEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.302--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field currentStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.302--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.302--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.RequestScheduleEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.302--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field requestScheduleBatchRequestEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestScheduleBatchRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.303--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field clusterEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.303--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field requestEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.304--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ViewInstancePropertyEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.305--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field viewInstance] is being defaulted to: class org.apache.ambari.server.orm.entities.ViewInstanceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.305--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.ClusterEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.306--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.306--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field clusterVersionEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.306--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field resource] is being defaulted to: class org.apache.ambari.server.orm.entities.ResourceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.306--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configGroupEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ConfigGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.307--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field clusterStateEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.307--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field configMappingEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterConfigMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.307--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field clusterServiceEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ClusterServiceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.307--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field hostEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.307--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field requestScheduleEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.RequestScheduleEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.307--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field upgradeEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.UpgradeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.308--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field alertDefinitionEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertDefinitionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.308--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field widgetEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.WidgetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.308--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field serviceConfigEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.ServiceConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.309--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field widgetLayoutEntities] is being defaulted to: class org.apache.ambari.server.orm.entities.WidgetLayoutEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.309--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field desiredStack] is being defaulted to: class org.apache.ambari.server.orm.entities.StackEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.309--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.AlertCurrentEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.309--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field alertHistory] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertHistoryEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.31--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field alertDefinition] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertDefinitionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.31--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.HostRoleCommandEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.311--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field topologyLogicalTaskEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.TopologyLogicalTaskEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.311--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to one mapping element [field executionCommand] is being defaulted to: class org.apache.ambari.server.orm.entities.ExecutionCommandEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.312--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field stage] is being defaulted to: class org.apache.ambari.server.orm.entities.StageEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.312--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field hostEntity] is being defaulted to: class org.apache.ambari.server.orm.entities.HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.312--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.AlertTargetEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.312--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field alertGroups] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.313--ServerSession(529101472)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field alertNotices] is being defaulted to: class org.apache.ambari.server.orm.entities.AlertNoticeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.313--ServerSession(529101472)--Thread(Thread[main,5,main])--The access type for the persistent class [class org.apache.ambari.server.orm.entities.KeyValueEntity] is set to [FIELD].
-[EL Config]: metadata: 2016-03-01 21:02:47.313--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ViewInstanceDataEntity] is being defaulted to: ViewInstanceDataEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.337--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [value] is being defaulted to: VALUE.
-[EL Config]: metadata: 2016-03-01 21:02:47.338--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostComponentDesiredStateEntity] is being defaulted to: HostComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.344--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ClusterConfigMappingEntity] is being defaulted to: ClusterConfigMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.344--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.TopologyHostInfoEntity] is being defaulted to: TopologyHostInfoEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.345--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.TopologyHostRequestEntity] is being defaulted to: TopologyHostRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.345--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostStateEntity] is being defaulted to: HostStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.346--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.AlertNoticeEntity] is being defaulted to: AlertNoticeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.346--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [uuid] is being defaulted to: UUID.
-[EL Config]: metadata: 2016-03-01 21:02:47.346--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.KerberosPrincipalEntity] is being defaulted to: KerberosPrincipalEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.347--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.WidgetEntity] is being defaulted to: WidgetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.348--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.UpgradeGroupEntity] is being defaulted to: UpgradeGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.349--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostGroupConfigEntity] is being defaulted to: HostGroupConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.35--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ViewEntityEntity] is being defaulted to: ViewEntityEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.35--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ArtifactEntity] is being defaulted to: ArtifactEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.351--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ClusterConfigEntity] is being defaulted to: ClusterConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.352--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostEntity] is being defaulted to: HostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.353--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ViewInstanceEntity] is being defaulted to: ViewInstanceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.353--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [icon] is being defaulted to: ICON.
-[EL Config]: metadata: 2016-03-01 21:02:47.353--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [visible] is being defaulted to: VISIBLE.
-[EL Config]: metadata: 2016-03-01 21:02:47.354--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [icon64] is being defaulted to: ICON64.
-[EL Config]: metadata: 2016-03-01 21:02:47.354--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [label] is being defaulted to: LABEL.
-[EL Config]: metadata: 2016-03-01 21:02:47.354--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [description] is being defaulted to: DESCRIPTION.
-[EL Config]: metadata: 2016-03-01 21:02:47.354--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.AlertDefinitionEntity] is being defaulted to: AlertDefinitionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.355--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [enabled] is being defaulted to: ENABLED.
-[EL Config]: metadata: 2016-03-01 21:02:47.355--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [hash] is being defaulted to: HASH.
-[EL Config]: metadata: 2016-03-01 21:02:47.356--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ResourceEntity] is being defaulted to: ResourceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.356--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.WidgetLayoutUserWidgetEntity] is being defaulted to: WidgetLayoutUserWidgetEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.357--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.RepositoryVersionEntity] is being defaulted to: RepositoryVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.358--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostComponentStateEntity] is being defaulted to: HostComponentStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.358--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.RequestScheduleBatchRequestEntity] is being defaulted to: RequestScheduleBatchRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.359--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ViewParameterEntity] is being defaulted to: ViewParameterEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.36--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [required] is being defaulted to: REQUIRED.
-[EL Config]: metadata: 2016-03-01 21:02:47.36--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [masked] is being defaulted to: MASKED.
-[EL Config]: metadata: 2016-03-01 21:02:47.36--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.BlueprintConfigEntity] is being defaulted to: BlueprintConfigEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.361--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.UserEntity] is being defaulted to: UserEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.362--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ServiceDesiredStateEntity] is being defaulted to: ServiceDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.363--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.PrivilegeEntity] is being defaulted to: PrivilegeEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.363--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostConfigMappingEntity] is being defaulted to: HostConfigMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.365--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.KerberosPrincipalHostEntity] is being defaulted to: KerberosPrincipalHostEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.366--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ConfigGroupConfigMappingEntity] is being defaulted to: ConfigGroupConfigMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.367--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.WidgetLayoutEntity] is being defaulted to: WidgetLayoutEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.367--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ConfigGroupHostMappingEntity] is being defaulted to: ConfigGroupHostMappingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.368--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.RequestOperationLevelEntity] is being defaulted to: RequestOperationLevelEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.369--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostVersionEntity] is being defaulted to: HostVersionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.369--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.PermissionEntity] is being defaulted to: PermissionEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.37--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.RoleAuthorizationEntity] is being defaulted to: RoleAuthorizationEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.37--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.SettingEntity] is being defaulted to: SettingEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.371--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ServiceComponentHistoryEntity] is being defaulted to: ServiceComponentHistoryEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.371--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.RoleSuccessCriteriaEntity] is being defaulted to: RoleSuccessCriteriaEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.372--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.KerberosDescriptorEntity] is being defaulted to: KerberosDescriptorEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.373--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.PrincipalEntity] is being defaulted to: PrincipalEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.373--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ClusterServiceEntity] is being defaulted to: ClusterServiceEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.374--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity] is being defaulted to: ServiceComponentDesiredStateEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.374--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.AlertGroupEntity] is being defaulted to: AlertGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.374--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.HostGroupEntity] is being defaulted to: HostGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.375--ServerSession(529101472)--Thread(Thread[main,5,main])--The column name for element [cardinality] is being defaulted to: CARDINALITY.
-[EL Config]: metadata: 2016-03-01 21:02:47.375--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.TopologyRequestEntity] is being defaulted to: TopologyRequestEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.376--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.ConfigGroupEntity] is being defaulted to: ConfigGroupEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.376--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [class org.apache.ambari.server.orm.entities.MetainfoEntity] is being defaulted to: MetainfoEntity.
-[EL Config]: metadata: 2016-03-01 21:02:47.377--ServerSession(529101472)--Thread(Thread[main,5,main])--The alias name for the entity class [clas

<TRUNCATED>

[2/2] ambari git commit: Revert "AMBARI-15133. Functionality to purge operational logs from the ambari database. (Laszlo Puskas via stoader)"

Posted by yu...@apache.org.
Revert "AMBARI-15133. Functionality to purge operational logs from the ambari database. (Laszlo Puskas via stoader)"

This reverts commit b33fba7b5a49e3664094b7aaedf6b7e5ed69a732.


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

Branch: refs/heads/branch-2.2
Commit: 859345badb4e0fb81b1b4f780ac00c89c8beef1f
Parents: 93aba40
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Tue Mar 1 18:22:53 2016 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Tue Mar 1 18:22:58 2016 -0800

----------------------------------------------------------------------
 ambari-server/pom.xml                           |    5 -
 ambari-server/sbin/ambari-server                |   10 +-
 .../server/cleanup/ClasspathScannerUtils.java   |  129 -
 .../ambari/server/cleanup/CleanupDriver.java    |  117 -
 .../ambari/server/cleanup/CleanupModule.java    |   76 -
 .../ambari/server/cleanup/CleanupService.java   |   33 -
 .../server/cleanup/CleanupServiceImpl.java      |   67 -
 .../ambari/server/cleanup/PurgePolicy.java      |   33 -
 .../server/cleanup/TimeBasedCleanupPolicy.java  |   62 -
 .../apache/ambari/server/orm/dao/AlertsDAO.java |   91 +-
 .../apache/ambari/server/orm/dao/Cleanable.java |   39 -
 .../server/orm/entities/AlertCurrentEntity.java |    4 +-
 .../server/orm/entities/AlertHistoryEntity.java |    4 +-
 .../server/orm/entities/AlertNoticeEntity.java  |    4 +-
 ambari-server/src/main/python/ambari-server.py  |    9 +-
 .../src/main/python/ambari_server/dbCleanup.py  |  117 -
 .../main/python/ambari_server/setupActions.py   |    1 -
 .../cleanup/CleanupServiceFunctionalTest.java   |  161 -
 .../server/cleanup/CleanupServiceImplTest.java  |   82 -
 .../ddl-func-test/ddl-cleanup-test-data.sql     |    6 -
 ambari-server/test.result                       | 5154 ------------------
 21 files changed, 10 insertions(+), 6194 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 45e2bdd..87ddd19 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -1994,11 +1994,6 @@
       <artifactId>hadoop-auth</artifactId>
       <version>${hadoop.version}</version>
     </dependency>
-    <dependency>
-      <groupId>commons-cli</groupId>
-      <artifactId>commons-cli</artifactId>
-      <version>1.3.1</version>
-    </dependency>
   </dependencies>
 
   <pluginRepositories>

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/sbin/ambari-server
----------------------------------------------------------------------
diff --git a/ambari-server/sbin/ambari-server b/ambari-server/sbin/ambari-server
index ef4344c..e676cbc 100755
--- a/ambari-server/sbin/ambari-server
+++ b/ambari-server/sbin/ambari-server
@@ -142,14 +142,10 @@ case "$1" in
         echo -e "Checking database"
         $PYTHON /usr/sbin/ambari-server.py $@
         ;;
-  db-cleanup)
-        echo -e "Cleanup database..."
-        $PYTHON /usr/sbin/ambari-server.py $@
-        ;;
   *)
-        echo "Usage: $AMBARI_PYTHON_EXECUTABLE
-        {start|stop|restart|setup|setup-jce|upgrade|status|upgradestack|setup-ldap|sync-ldap|set-current|setup-security|setup-sso|refresh-stack-hash|backup|restore|update-host-names|check-database|db-cleanup} [options]
-        Use $AMBARI_PYTHON_EXECUTABLE <action> --help to get details on options available.
+        echo "Usage: /usr/sbin/ambari-server
+        {start|stop|restart|setup|setup-jce|upgrade|status|upgradestack|setup-ldap|sync-ldap|set-current|setup-security|refresh-stack-hash|backup|restore|update-host-names|check-database} [options]
+        Use usr/sbin/ambari-server <action> --help to get details on options available.
         Or, simply invoke ambari-server.py --help to print the options."
         exit 1
 esac

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/cleanup/ClasspathScannerUtils.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/ClasspathScannerUtils.java b/ambari-server/src/main/java/org/apache/ambari/server/cleanup/ClasspathScannerUtils.java
deleted file mode 100644
index 4c12a62..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/ClasspathScannerUtils.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ambari.server.cleanup;
-
-import java.io.IOException;
-import java.lang.annotation.Annotation;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import com.google.common.reflect.ClassPath;
-
-/**
- * Utility for looking up classes on the classpath that are potentially subject to be bound by a multibinder.
- */
-public class ClasspathScannerUtils {
-
-  private static final Logger LOGGER = LoggerFactory.getLogger(ClasspathScannerUtils.class);
-
-  /**
-   * Scans the classpath for classes based on the provided arguments
-   *
-   * @param packageName the package to be scanned
-   * @param exclusions  a list with classes excluded from the result
-   * @param selectors   a list with annotation and interface classes that identify classes to be found (lookup criteria)
-   * @return a list of classes from the classpath that match the lookup criteria
-   */
-  public static Set<Class> findOnClassPath(String packageName, List<Class> exclusions, List<Class> selectors) {
-
-    Set<Class> bindingSet = new HashSet<>();
-    try {
-      ClassPath classpath = ClassPath.from(ClasspathScannerUtils.class.getClassLoader());
-      LOGGER.info("Checking package [{}] for binding candidates.", packageName);
-
-      for (ClassPath.ClassInfo classInfo : classpath.getTopLevelClassesRecursive(packageName)) {
-        Class candidate = classInfo.load();
-
-        if (exclusions.contains(candidate)) {
-          LOGGER.debug("Candidate [{}] is excluded excluded.", candidate);
-          continue;
-        }
-
-        if (isEligible(candidate, selectors)) {
-          LOGGER.info("Found class [{}]", candidate);
-          bindingSet.add(candidate);
-        } else {
-          LOGGER.debug("Candidate [{}] doesn't match.", candidate);
-        }
-      }
-
-    } catch (IOException e) {
-      LOGGER.error("Failure during configuring JUICE bindings.", e);
-      throw new IllegalArgumentException(e);
-    }
-    return bindingSet;
-  }
-
-
-  /**
-   * Checks whether the candidate class matches lookup conditions.
-   *
-   * @param candidate the type to be checked
-   * @return true if the class matches, false otherwise
-   */
-  private static boolean isEligible(Class candidate, List<Class> selectors) {
-    return checkSubClasses(candidate, selectors) || checkAnnotations(candidate, selectors);
-  }
-
-  /**
-   * Checks if the candidate has annotations listed in the selection criteria
-   *
-   * @param candidate the type to be checked
-   * @return true if the candidate has annotations listed in the selection criteria, false otherwise
-   */
-  private static boolean checkAnnotations(Class candidate, List<Class> selectors) {
-    LOGGER.debug("Checking annotations for: [{}]", candidate);
-    boolean ret = false;
-    for (Annotation candidateAnn : candidate.getDeclaredAnnotations()) {
-      if (selectors.contains(candidateAnn)) {
-        ret = true;
-        break;
-      }
-    }
-    return ret;
-  }
-
-  /**
-   * Checks if the candidate implements interfaces listed in the selection criteria
-   *
-   * @param candidate the type to be checked
-   * @return true if the candidate implements interfaces listed in the selection criteria, false otherwise
-   */
-  private static boolean checkSubClasses(Class candidate, List<Class> selectors) {
-    boolean ret = false;
-    LOGGER.debug("Checking interfaces for: [{}]", candidate);
-    List<Class> interfaces = Arrays.asList(candidate.getInterfaces());
-
-    for (Class selectorItf : selectors) {
-      if (interfaces.contains(selectorItf)) {
-        LOGGER.debug("Checking candidate for subclassing interface: ", selectorItf);
-        if (selectorItf.getClass().isAssignableFrom(candidate.getClass())) {
-          ret = true;
-          break;
-        }
-      }
-    }
-    return ret;
-  }
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupDriver.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupDriver.java b/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupDriver.java
deleted file mode 100644
index f10250e..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupDriver.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.ambari.server.cleanup;
-
-import java.text.DateFormat;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-import org.apache.ambari.server.controller.ControllerModule;
-import org.apache.commons.cli.CommandLine;
-import org.apache.commons.cli.CommandLineParser;
-import org.apache.commons.cli.DefaultParser;
-import org.apache.commons.cli.HelpFormatter;
-import org.apache.commons.cli.Option;
-import org.apache.commons.cli.Options;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-import com.google.inject.persist.jpa.AmbariJpaPersistService;
-
-/**
- * Class in charge for driving the cleanup process.
- */
-public class CleanupDriver {
-  private static final Logger LOGGER = LoggerFactory.getLogger(CleanupDriver.class);
-
-  private static final String DATE_PATTERN = "yyyy-MM-dd";
-  private static final String CLUSTER_NAME_ARG = "cluster-name";
-  private static final String FROM_DATE_ARG = "from-date";
-
-  private static Options getOptions() {
-    Options options = new Options();
-    options.addOption(Option.builder().longOpt(CLUSTER_NAME_ARG).desc("The cluster name").required().type(String.class).hasArg().valueSeparator(' ').build());
-    options.addOption(Option.builder().longOpt(FROM_DATE_ARG).desc("The day from which the cleanup runs").required().type(String.class).hasArg().valueSeparator(' ').build());
-    return options;
-  }
-
-  private static CleanupContext processArguments(String... args) {
-    CommandLineParser cmdLineParser = new DefaultParser();
-    HelpFormatter formatter = new HelpFormatter();
-    DateFormat df = new SimpleDateFormat(DATE_PATTERN);
-    CleanupContext ctx = null;
-
-    try {
-      CommandLine line = cmdLineParser.parse(getOptions(), args);
-      String clusterName = (String) line.getParsedOptionValue(CLUSTER_NAME_ARG);
-      Date fromDate = df.parse(line.getOptionValue(FROM_DATE_ARG));
-      ctx = new CleanupContext(clusterName, fromDate.getTime());
-    } catch (Exception exp) {
-      System.err.println("Parsing failed.  Reason: " + exp.getMessage());
-      LOGGER.error("Parsing failed.  Reason: ", exp);
-      formatter.printHelp("cleanup", getOptions());
-      System.exit(1);
-    }
-    return ctx;
-  }
-
-
-  public static void main(String... args) throws Exception {
-    LOGGER.info("DB-CLEANUP - Starting the cleanup process ...");
-
-    CleanupContext cleanupContext = processArguments(args);
-
-    // set up the guice context
-    Injector injector = Guice.createInjector(new ControllerModule(), new CleanupModule());
-
-    // explicitly starting the persist service
-    injector.getInstance(AmbariJpaPersistService.class).start();
-
-    CleanupServiceImpl cleanupService = injector.getInstance(CleanupServiceImpl.class);
-    long affected = cleanupService.cleanup(new TimeBasedCleanupPolicy(cleanupContext.getClusterName(), cleanupContext.getFromDayTimestamp()));
-
-    // explicitly stopping the persist service
-    injector.getInstance(AmbariJpaPersistService.class).stop();
-
-    LOGGER.info("DB-CLEANUP - completed. Number of affected records [{}]", affected);
-  }
-
-  /**
-   * Context object that encapsulates values passed in as arguments to the driver class.
-   * Represents the input for the cleanup process.
-   */
-  private static class CleanupContext {
-    private String clusterName;
-    private Long fromDayTimestamp;
-
-    public CleanupContext(String clusterName, Long fromDayTimestamp) {
-      this.clusterName = clusterName;
-      this.fromDayTimestamp = fromDayTimestamp;
-    }
-
-    public String getClusterName() {
-      return clusterName;
-    }
-
-    public Long getFromDayTimestamp() {
-      return fromDayTimestamp;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupModule.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupModule.java b/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupModule.java
deleted file mode 100644
index d2a7583..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupModule.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.ambari.server.cleanup;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-import java.util.Set;
-
-import org.apache.ambari.server.orm.dao.Cleanable;
-
-import com.google.inject.AbstractModule;
-import com.google.inject.Scopes;
-import com.google.inject.multibindings.Multibinder;
-
-/**
- * Configuration module for the cleanup framework.
- */
-public class CleanupModule extends AbstractModule {
-
-  /**
-   * Selectors identifying objects to be bound.
-   *
-   * @return a list with interface and annotation types
-   */
-  protected List<Class> getSelectors() {
-    List<Class> selectorList = new ArrayList<>();
-    selectorList.add(Cleanable.class);
-    return selectorList;
-  }
-
-  /**
-   * Gets the list of types to be excluded from bindings.
-   *
-   * @return a list with types to be left out from dynamic bindings
-   */
-  protected List<Class> getExclusions() {
-    return Collections.emptyList();
-  }
-
-  /**
-   * Returns the package to be scanned for bindings of this module.
-   *
-   * @return the name of the package to be scanned
-   */
-  protected String getPackageToScan() {
-    return Cleanable.class.getPackage().getName();
-  }
-
-
-  @Override
-  protected void configure() {
-
-    Multibinder<Cleanable> multiBinder = Multibinder.newSetBinder(binder(), Cleanable.class);
-    Set<Class> bindingSet = ClasspathScannerUtils.findOnClassPath(getPackageToScan(), getExclusions(), getSelectors());
-    for (Class clazz : bindingSet) {
-      multiBinder.addBinding().to(clazz).in(Scopes.SINGLETON);
-    }
-    bind(CleanupServiceImpl.class).in(Scopes.SINGLETON);
-  }
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupService.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupService.java b/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupService.java
deleted file mode 100644
index 880207c..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupService.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.ambari.server.cleanup;
-
-/**
- * Contract for services in charge for cleaning operational data.
- * @param <T> the type based on which the cleanup is done
- */
-public interface CleanupService<T> {
-
-  /**
-   * Triggers the cleanup for the given cleanup policy.
-   *
-   * @param cleanupPolicy the cleanup policy based on which the cleanup is executed.
-   * @return the affected "rows"
-   */
-  long cleanup(T cleanupPolicy);
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupServiceImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupServiceImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupServiceImpl.java
deleted file mode 100644
index 29a9041..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupServiceImpl.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.ambari.server.cleanup;
-
-import java.util.Set;
-
-import javax.inject.Inject;
-
-import org.apache.ambari.server.orm.dao.Cleanable;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import com.google.inject.Singleton;
-
-/**
- * Service in charge to perform the cleanup/purge on the entities that support this functionality.
- */
-@Singleton
-public class CleanupServiceImpl implements CleanupService<TimeBasedCleanupPolicy> {
-  private static final Logger LOGGER = LoggerFactory.getLogger(CleanupServiceImpl.class);
-
-
-  // this Set is automatically populated by the guice framework (based on the cleanup interface)
-  private Set<Cleanable> cleanables;
-
-  /**
-   * Constructor for testing purposes.
-   *
-   * @param cleanables
-   */
-  @Inject
-  protected CleanupServiceImpl(Set<Cleanable> cleanables) {
-    this.cleanables = cleanables;
-  }
-
-  /**
-   * Triggers the cleanup process on the registered DAOs.
-   *
-   * @param cleanupPolicy the policy based on which the cleanup is done
-   * @return the number of affected rows
-   */
-  public long cleanup(TimeBasedCleanupPolicy cleanupPolicy) {
-    long affectedRows = 0;
-    for (Cleanable cleanable : cleanables) {
-      LOGGER.info("Running the purge process for DAO: [{}] with cleanup policy: [{}]", cleanable, cleanupPolicy);
-      affectedRows += cleanable.cleanup(cleanupPolicy);
-    }
-    return affectedRows;
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/cleanup/PurgePolicy.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/PurgePolicy.java b/ambari-server/src/main/java/org/apache/ambari/server/cleanup/PurgePolicy.java
deleted file mode 100644
index c5c123c..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/PurgePolicy.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.ambari.server.cleanup;
-
-/**
- * Supported purge policies.
- */
-public enum PurgePolicy {
-  /**
-   * Delete from the database
-   */
-  DELETE,
-
-  /**
-   * Archive records, but do not delete them
-   */
-  ARCHIVE
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/cleanup/TimeBasedCleanupPolicy.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/TimeBasedCleanupPolicy.java b/ambari-server/src/main/java/org/apache/ambari/server/cleanup/TimeBasedCleanupPolicy.java
deleted file mode 100644
index db46c0d..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/cleanup/TimeBasedCleanupPolicy.java
+++ /dev/null
@@ -1,62 +0,0 @@
-package org.apache.ambari.server.cleanup;
-
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Time and cluster id based cleanup policy
- */
-public class TimeBasedCleanupPolicy {
-
-  private String clusterName;
-  private Long toDateInMillis;
-
-  /**
-   * Constructs an instance based on the given arguments.
-   *
-   * @param clusterName      the cluster name
-   * @param toDateInMillis timestamp before that entities are purged.
-   */
-  public TimeBasedCleanupPolicy(String clusterName, Long toDateInMillis) {
-    this.clusterName = clusterName;
-    this.toDateInMillis = toDateInMillis;
-  }
-
-  /**
-   * @return the cluster name
-   */
-  public String getClusterName() {
-    return clusterName;
-  }
-
-  /**
-   *
-   * @return the timestamp before that entities are purged
-   */
-  public Long getToDateInMillis() {
-    return toDateInMillis;
-  }
-
-  /**
-   *
-   * @return The used purge policy
-   */
-  public PurgePolicy getPurgePolicy() {
-    return PurgePolicy.DELETE;
-  }
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java b/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java
index 781d4cf..145f841 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java
@@ -37,10 +37,8 @@ import javax.persistence.metamodel.SingularAttribute;
 
 import org.apache.ambari.annotations.Experimental;
 import org.apache.ambari.annotations.ExperimentalFeature;
-import org.apache.ambari.server.AmbariException;
 import org.apache.ambari.server.api.query.JpaPredicateVisitor;
 import org.apache.ambari.server.api.query.JpaSortBuilder;
-import org.apache.ambari.server.cleanup.TimeBasedCleanupPolicy;
 import org.apache.ambari.server.configuration.Configuration;
 import org.apache.ambari.server.controller.AlertCurrentRequest;
 import org.apache.ambari.server.controller.AlertHistoryRequest;
@@ -53,7 +51,6 @@ import org.apache.ambari.server.orm.entities.AlertCurrentEntity;
 import org.apache.ambari.server.orm.entities.AlertCurrentEntity_;
 import org.apache.ambari.server.orm.entities.AlertHistoryEntity;
 import org.apache.ambari.server.orm.entities.AlertHistoryEntity_;
-import org.apache.ambari.server.orm.entities.AlertNoticeEntity;
 import org.apache.ambari.server.state.AlertState;
 import org.apache.ambari.server.state.Cluster;
 import org.apache.ambari.server.state.Clusters;
@@ -84,7 +81,7 @@ import com.google.inject.persist.Transactional;
  */
 @Singleton
 @Experimental(feature = ExperimentalFeature.ALERT_CACHING)
-public class AlertsDAO implements Cleanable {
+public class AlertsDAO {
   /**
    * Logger.
    */
@@ -1188,25 +1185,6 @@ public class AlertsDAO implements Cleanable {
     return cachedAlerts;
   }
 
-  @Transactional
-  @Override
-  public long cleanup(TimeBasedCleanupPolicy policy) {
-    long affectedRows = 0;
-    Long clusterId = null;
-    try {
-      clusterId = m_clusters.get().getCluster(policy.getClusterName()).getClusterId();
-      affectedRows += cleanAlertNoticesForClusterBeforeDate(clusterId, policy.getToDateInMillis());
-      affectedRows += cleanAlertCurrentsForClusterBeforeDate(clusterId, policy.getToDateInMillis());
-      affectedRows += cleanAlertHistoriesForClusterBeforeDate(clusterId, policy.getToDateInMillis());
-    } catch (AmbariException e) {
-      LOG.error("Error while looking up cluster with name: {}", policy.getClusterName(), e);
-      throw new IllegalStateException(e);
-    }
-
-    return affectedRows;
-  }
-
-
   /**
    * The {@link HistoryPredicateVisitor} is used to convert an Ambari
    * {@link Predicate} into a JPA {@link javax.persistence.criteria.Predicate}.
@@ -1432,71 +1410,4 @@ public class AlertsDAO implements Cleanable {
   @SuppressWarnings("serial")
   private static final class AlertNotYetCreatedException extends Exception {
   }
-
-
-  /**
-   * Deletes AlertNotice records in relation with AlertHistory entries older than the given date.
-   *
-   * @param clusterId        the identifier of the cluster the AlertNotices belong to
-   * @param beforeDateMillis the date in milliseconds the
-   * @return a long representing the number of affected (deleted) records
-   */
-  @Transactional
-  private int cleanAlertNoticesForClusterBeforeDate(Long clusterId, long beforeDateMillis) {
-    return executeQuery("AlertNoticeEntity.removeByAlertHistoryBeforeDate", AlertNoticeEntity.class, clusterId, beforeDateMillis);
-  }
-
-
-  /**
-   * Deletes AlertCurrent records in relation with AlertHistory entries older than the given date.
-   *
-   * @param clusterId        the identifier of the cluster the AlertCurrents belong to
-   * @param beforeDateMillis the date in milliseconds the
-   * @return a long representing the number of affected (deleted) records
-   */
-  @Transactional
-  private int cleanAlertCurrentsForClusterBeforeDate(long clusterId, long beforeDateMillis) {
-    return executeQuery("AlertCurrentEntity.removeByAlertHistoryBeforeDate", AlertCurrentEntity.class, clusterId, beforeDateMillis);
-  }
-
-  /**
-   * Deletes AlertHistory entries in a cluster older than the given date.
-   *
-   * @param clusterId        the identifier of the cluster the AlertHistory entries belong to
-   * @param beforeDateMillis the date in milliseconds the
-   * @return a long representing the number of affected (deleted) records
-   */
-
-  @Transactional
-  private int cleanAlertHistoriesForClusterBeforeDate(Long clusterId, long beforeDateMillis) {
-    return executeQuery("AlertHistoryEntity.removeInClusterBeforeDate", AlertHistoryEntity.class, clusterId, beforeDateMillis);
-  }
-
-  /**
-   * Utility method for executing update or delete named queries having as input parameters the cluster id and a timestamp.
-   *
-   * @param namedQuery the named query to be executed
-   * @param entityType the type of the entity
-   * @param clusterId  the cluster identifier
-   * @param timestamp  timestamp
-   * @return the number of rows affected by the query execution.
-   */
-  private int executeQuery(String namedQuery, Class entityType, long clusterId, long timestamp) {
-    LOG.info("Starting: Delete/update entries older than [ {} ] for entity [{}]", timestamp, entityType);
-    TypedQuery query = m_entityManagerProvider.get().createNamedQuery(namedQuery, entityType);
-
-    query.setParameter("clusterId", clusterId);
-    query.setParameter("beforeDate", timestamp);
-
-    int affectedRows = query.executeUpdate();
-
-    m_entityManagerProvider.get().flush();
-    m_entityManagerProvider.get().clear();
-
-    LOG.info("Completed: Delete/update entries older than [ {} ] for entity: [{}]. Number of entities deleted: [{}]",
-        timestamp, entityType, affectedRows);
-
-    return affectedRows;
-  }
-
 }

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/Cleanable.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/Cleanable.java b/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/Cleanable.java
deleted file mode 100644
index b0ea200..0000000
--- a/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/Cleanable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *
- *  * Licensed to the Apache Software Foundation (ASF) under one
- *  * or more contributor license agreements.  See the NOTICE file
- *  * distributed with this work for additional information
- *  * regarding copyright ownership.  The ASF licenses this file
- *  * to you under the Apache License, Version 2.0 (the
- *  * "License"); you may not use this file except in compliance
- *  * with the License.  You may obtain a copy of the License at
- *  *
- *  *     http://www.apache.org/licenses/LICENSE-2.0
- *  *
- *  * Unless required by applicable law or agreed to in writing, software
- *  * distributed under the License is distributed on an "AS IS" BASIS,
- *  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  * See the License for the specific language governing permissions and
- *  * limitations under the License.
- *
- */
-
-package org.apache.ambari.server.orm.dao;
-
-import org.apache.ambari.server.cleanup.TimeBasedCleanupPolicy;
-
-/**
- * Interface to be implemented by all DAOs that support the cleanup functionality.
- * All implementing DAO are automatically configured in the cleanup process.
- *
- */
-public interface Cleanable {
-
-  /**
-   * Performs the cleanup for the entiries the implementing DAO is responsible for.
-   *
-   * @param policy the policy with the parameters of the cleanup
-   * @return the number of affected records if available
-   */
-  long cleanup(TimeBasedCleanupPolicy policy);
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
index 604b00e..affe69e 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
@@ -58,9 +58,7 @@ import org.apache.ambari.server.state.MaintenanceState;
     @NamedQuery(name = "AlertCurrentEntity.removeDisabled", query = "DELETE FROM AlertCurrentEntity alert WHERE alert.alertDefinition.enabled = 0"),
     @NamedQuery(name = "AlertCurrentEntity.removeByService", query = "DELETE FROM AlertCurrentEntity alert WHERE alert.alertHistory.serviceName = :serviceName"),
     @NamedQuery(name = "AlertCurrentEntity.removeByHost", query = "DELETE FROM AlertCurrentEntity alert WHERE alert.alertHistory.hostName = :hostName"),
-    @NamedQuery(name = "AlertCurrentEntity.removeByHostComponent", query = "DELETE FROM AlertCurrentEntity alert WHERE alert.alertHistory.serviceName = :serviceName AND alert.alertHistory.componentName = :componentName AND alert.alertHistory.hostName = :hostName"),
-    @NamedQuery(name = "AlertCurrentEntity.removeByAlertHistoryBeforeDate", query = "DELETE FROM AlertCurrentEntity alert WHERE alert.alertHistory.clusterId = :clusterId AND alert.alertHistory.alertTimestamp <= :beforeDate")
-})
+    @NamedQuery(name = "AlertCurrentEntity.removeByHostComponent", query = "DELETE FROM AlertCurrentEntity alert WHERE alert.alertHistory.serviceName = :serviceName AND alert.alertHistory.componentName = :componentName AND alert.alertHistory.hostName = :hostName") })
 public class AlertCurrentEntity {
 
   @Id

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertHistoryEntity.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertHistoryEntity.java b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertHistoryEntity.java
index 03ffcde..9091398 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertHistoryEntity.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertHistoryEntity.java
@@ -51,9 +51,7 @@ import org.apache.ambari.server.state.AlertState;
     @NamedQuery(name = "AlertHistoryEntity.findAllInClusterBetweenDates", query = "SELECT alertHistory FROM AlertHistoryEntity alertHistory WHERE alertHistory.clusterId = :clusterId AND alertHistory.alertTimestamp BETWEEN :startDate AND :endDate"),
     @NamedQuery(name = "AlertHistoryEntity.findAllInClusterBeforeDate", query = "SELECT alertHistory FROM AlertHistoryEntity alertHistory WHERE alertHistory.clusterId = :clusterId AND alertHistory.alertTimestamp <= :beforeDate"),
     @NamedQuery(name = "AlertHistoryEntity.findAllInClusterAfterDate", query = "SELECT alertHistory FROM AlertHistoryEntity alertHistory WHERE alertHistory.clusterId = :clusterId AND alertHistory.alertTimestamp >= :afterDate"),
-    @NamedQuery(name = "AlertHistoryEntity.removeByDefinitionId", query = "DELETE FROM AlertHistoryEntity alertHistory WHERE alertHistory.alertDefinition.definitionId = :definitionId"),
-    @NamedQuery(name = "AlertHistoryEntity.removeInClusterBeforeDate", query = "DELETE FROM AlertHistoryEntity alertHistory WHERE alertHistory.clusterId= :clusterId AND alertHistory.alertTimestamp <= :beforeDate")
-})
+    @NamedQuery(name = "AlertHistoryEntity.removeByDefinitionId", query = "DELETE FROM AlertHistoryEntity alertHistory WHERE alertHistory.alertDefinition.definitionId = :definitionId") })
 public class AlertHistoryEntity {
 
   @Id

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertNoticeEntity.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertNoticeEntity.java b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertNoticeEntity.java
index ae7495d..c2f61b3 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertNoticeEntity.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertNoticeEntity.java
@@ -49,9 +49,7 @@ import org.apache.ambari.server.state.NotificationState;
     @NamedQuery(name = "AlertNoticeEntity.findAll", query = "SELECT notice FROM AlertNoticeEntity notice"),
     @NamedQuery(name = "AlertNoticeEntity.findByState", query = "SELECT notice FROM AlertNoticeEntity notice WHERE notice.notifyState = :notifyState"),
     @NamedQuery(name = "AlertNoticeEntity.findByUuid", query = "SELECT notice FROM AlertNoticeEntity notice WHERE notice.uuid = :uuid"),
-    @NamedQuery(name = "AlertNoticeEntity.removeByDefinitionId", query = "DELETE FROM AlertNoticeEntity notice WHERE notice.alertHistory.alertDefinition.definitionId = :definitionId"),
-    @NamedQuery(name = "AlertNoticeEntity.removeByAlertHistoryBeforeDate", query = "DELETE FROM AlertNoticeEntity notice WHERE notice.alertHistory.clusterId = :clusterId AND notice.alertHistory.alertTimestamp <= :beforeDate")
-})
+    @NamedQuery(name = "AlertNoticeEntity.removeByDefinitionId", query = "DELETE FROM AlertNoticeEntity notice WHERE notice.alertHistory.alertDefinition.definitionId = :definitionId") })
 public class AlertNoticeEntity {
 
   @Id

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/python/ambari-server.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari-server.py b/ambari-server/src/main/python/ambari-server.py
index 072dfae..38bf11f 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -36,14 +36,13 @@ from ambari_server.serverUtils import is_server_runing, refresh_stack_hash
 from ambari_server.serverSetup import reset, setup, setup_jce_policy
 from ambari_server.serverUpgrade import upgrade, upgrade_stack, set_current
 from ambari_server.setupHttps import setup_https, setup_truststore
-from ambari_server.dbCleanup import db_cleanup
 from ambari_server.hostUpdate import update_host_names
 from ambari_server.checkDatabase import check_database
 
 from ambari_server.setupActions import BACKUP_ACTION, LDAP_SETUP_ACTION, LDAP_SYNC_ACTION, PSTART_ACTION, \
   REFRESH_STACK_HASH_ACTION, RESET_ACTION, RESTORE_ACTION, UPDATE_HOST_NAMES_ACTION, CHECK_DATABASE_ACTION, \
   SETUP_ACTION, SETUP_SECURITY_ACTION,START_ACTION, STATUS_ACTION, STOP_ACTION, UPGRADE_ACTION, UPGRADE_STACK_ACTION, \
-  SETUP_JCE_ACTION, SET_CURRENT_ACTION,DB_CLEANUP_ACTION
+  SETUP_JCE_ACTION, SET_CURRENT_ACTION
 from ambari_server.setupSecurity import setup_ldap, sync_ldap, setup_master_key, setup_ambari_krb5_jaas
 from ambari_server.userInput import get_validated_string_input
 
@@ -381,7 +380,6 @@ def init_parser_options(parser):
   parser.add_option('--cluster-name', default=None, help="Cluster name", dest="cluster_name")
   parser.add_option('--version-display-name', default=None, help="Display name of desired repo version", dest="desired_repo_version")
   parser.add_option('--force-version', action="store_true", default=False, help="Force version to current", dest="force_repo_version")
-  parser.add_option("-d", "--from-date", dest="cleanup_from_date", default=None, type="string", help="Specify date for the cleanup process in 'yyyy-MM-dd' format")
 
 @OsFamilyFuncImpl(OSConst.WINSRV_FAMILY)
 def are_cmd_line_db_args_blank(options):
@@ -505,7 +503,7 @@ def create_user_action_map(args, options):
     UPGRADE_ACTION: UserAction(upgrade, options),
     LDAP_SETUP_ACTION: UserAction(setup_ldap),
     SETUP_SECURITY_ACTION: UserActionRestart(setup_security, options),
-    REFRESH_STACK_HASH_ACTION: UserAction(refresh_stack_hash_action)
+    REFRESH_STACK_HASH_ACTION: UserAction(refresh_stack_hash_action),
   }
   return action_map
 
@@ -528,8 +526,7 @@ def create_user_action_map(args, options):
         BACKUP_ACTION: UserActionPossibleArgs(backup, [1, 2], args),
         RESTORE_ACTION: UserActionPossibleArgs(restore, [1, 2], args),
         UPDATE_HOST_NAMES_ACTION: UserActionPossibleArgs(update_host_names, [2], args, options),
-        CHECK_DATABASE_ACTION: UserAction(check_database, options),
-        DB_CLEANUP_ACTION: UserAction(db_cleanup, options)
+        CHECK_DATABASE_ACTION: UserAction(check_database, options)
       }
   return action_map
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/python/ambari_server/dbCleanup.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari_server/dbCleanup.py b/ambari-server/src/main/python/ambari_server/dbCleanup.py
deleted file mode 100644
index 7a5486c..0000000
--- a/ambari-server/src/main/python/ambari_server/dbCleanup.py
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/usr/bin/env python
-
-'''
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-'''
-
-from ambari_commons.logging_utils import print_info_msg, print_error_msg
-from ambari_commons.os_utils import run_os_command
-from ambari_server.dbConfiguration import ensure_jdbc_driver_is_installed
-from ambari_server.serverConfiguration import configDefaults, \
-    get_ambari_properties, get_java_exe_path, read_ambari_user, get_db_type
-from ambari_server.setupSecurity import generate_env, ensure_can_start_under_current_user
-from ambari_server.userInput import get_YN_input
-from ambari_server.serverClassPath import ServerClassPath
-from ambari_server.serverUtils import is_server_runing
-import datetime
-
-DB_CLEANUP_CMD = "{0} -cp {1} org.apache.ambari.server.cleanup.CleanupDriver --cluster-name {2} --from-date {3}> " + configDefaults.SERVER_OUT_FILE + " 2>&1"
-
-#
-# Run the db cleanup process
-#
-def run_db_cleanup(options):
-
-    if validate_args(options):
-        return 1
-
-    db_title = get_db_type(get_ambari_properties()).title
-
-    confirmBackup = get_YN_input("Ambari Server configured for {0}. Confirm you have made a backup of the Ambari Server database [y/n]".format(
-            db_title), True)
-    if not confirmBackup:
-        print_info_msg("Ambari Server Database cleanup aborted")
-        return 0
-
-    status, stateDesc = is_server_runing()
-    if status:
-        print_error_msg("The database cleanup cannot proceed while Ambari Server is running. Please shut down Ambari first.")
-        return 1
-
-    confirm = get_YN_input(
-        "Ambari server is using db type {0}. Cleanable database entries older than {1} will be cleaned up. Proceed [y/n]".format(
-            db_title, options.cleanup_from_date), True)
-    if not confirm:
-        print_info_msg("Ambari Server Database cleanup aborted")
-        return 0
-
-    jdk_path = get_java_exe_path()
-    if jdk_path is None:
-        print_error_msg("No JDK found, please run the \"setup\" command to install a JDK automatically or install any "
-                        "JDK manually to {0}".format(configDefaults.JDK_INSTALL_DIR));
-        return 1
-
-    ensure_jdbc_driver_is_installed(options, get_ambari_properties())
-
-    serverClassPath = ServerClassPath(get_ambari_properties(), options)
-    class_path = serverClassPath.get_full_ambari_classpath_escaped_for_shell()
-
-    ambari_user = read_ambari_user()
-    current_user = ensure_can_start_under_current_user(ambari_user)
-    environ = generate_env(options, ambari_user, current_user)
-
-    print "Cleaning up the database ..."
-    command = DB_CLEANUP_CMD.format(jdk_path, class_path, options.cluster_name, options.cleanup_from_date)
-    (retcode, stdout, stderr) = run_os_command(command, env=environ)
-
-    print_info_msg("Return code from database cleanup command, retcode = " + str(retcode))
-
-    if stdout:
-        print "Console output from database cleanup command:"
-        print stdout
-        print
-    if stderr:
-        print "Error output from database cleanup command:"
-        print stderr
-        print
-    if retcode > 0:
-        print_error_msg("Error wncountered while cleaning up the Ambari Server Database. Check the ambari-server.log for details.")
-    else:
-        print "Cleanup completed. Check the ambari-server.log for details."
-    return retcode
-
-#
-# Database cleanup
-#
-def db_cleanup(options):
-    return run_db_cleanup(options)
-
-
-def validate_args(options):
-    if not options.cluster_name:
-        print_error_msg("Please provide the --cluster-name argument.")
-        return 1
-
-    if not options.cleanup_from_date:
-        print_error_msg("Please provide the --from-date argument.")
-        return 1
-
-    try:
-        datetime.datetime.strptime(options.cleanup_from_date, "%Y-%m-%d")
-    except ValueError as e:
-        print_error_msg("The --from-date argument has an invalid format. {0}".format(e.args[0]))
-        return 1;

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/main/python/ambari_server/setupActions.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari_server/setupActions.py b/ambari-server/src/main/python/ambari_server/setupActions.py
index edc9aba..324ef69 100644
--- a/ambari-server/src/main/python/ambari_server/setupActions.py
+++ b/ambari-server/src/main/python/ambari_server/setupActions.py
@@ -40,4 +40,3 @@ CHECK_DATABASE_ACTION = "check-database"
 BACKUP_ACTION = "backup"
 RESTORE_ACTION = "restore"
 SETUP_JCE_ACTION = "setup-jce"
-DB_CLEANUP_ACTION = "db-cleanup"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceFunctionalTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceFunctionalTest.java b/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceFunctionalTest.java
deleted file mode 100644
index 33018bc..0000000
--- a/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceFunctionalTest.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- *
- *  * Licensed to the Apache Software Foundation (ASF) under one
- *  * or more contributor license agreements.  See the NOTICE file
- *  * distributed with this work for additional information
- *  * regarding copyright ownership.  The ASF licenses this file
- *  * to you under the Apache License, Version 2.0 (the
- *  * "License"); you may not use this file except in compliance
- *  * with the License.  You may obtain a copy of the License at
- *  *
- *  *     http://www.apache.org/licenses/LICENSE-2.0
- *  *
- *  * Unless required by applicable law or agreed to in writing, software
- *  * distributed under the License is distributed on an "AS IS" BASIS,
- *  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  * See the License for the specific language governing permissions and
- *  * limitations under the License.
- *
- */
-
-package org.apache.ambari.server.cleanup;
-
-
-import java.util.Properties;
-
-import org.apache.ambari.server.configuration.Configuration;
-import org.apache.ambari.server.controller.ControllerModule;
-import org.eclipse.persistence.config.PersistenceUnitProperties;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-import com.google.inject.Module;
-import com.google.inject.persist.jpa.AmbariJpaPersistModule;
-import com.google.inject.persist.jpa.AmbariJpaPersistService;
-
-import junit.framework.Assert;
-
-/**
- * Functional test for the Cleanup process.
- */
-@Ignore("Ignored in order not to run with the unit tests as it's time consuming. Should be part of a functional test suit.")
-public class CleanupServiceFunctionalTest {
-
-  private static Injector injector;
-
-  @BeforeClass
-  public static void beforeClass() throws Exception {
-
-    injector = Guice.createInjector(
-        new CleanupModule(),
-        new ControllerModule(getTestProperties())
-    );
-
-    // start the persistService
-    injector.getInstance(AmbariJpaPersistService.class).start();
-
-  }
-
-  private static Module getTestPersistModule() {
-    AmbariJpaPersistModule persistModule = new AmbariJpaPersistModule("ambari-server");
-    Configuration testConfiguration = new Configuration(getTestProperties());
-    Properties persistenceProperties = ControllerModule.getPersistenceProperties(testConfiguration);
-
-    // overriding JPA properties with test specific values
-    persistenceProperties.setProperty(PersistenceUnitProperties.SCHEMA_GENERATION_DATABASE_ACTION, PersistenceUnitProperties.NONE);
-
-    // this doesn't work for something similar to what's described here: http://stackoverflow.com/questions/3606825/problems-with-generating-sql-via-eclipselink-missing-separator
-    // line breaks are not supported; SQL statements need to be in one line! - appears to be fixed in eclipselink 2.6
-    //persistenceProperties.setProperty(PersistenceUnitProperties.SCHEMA_GENERATION_CREATE_SCRIPT_SOURCE, "Ambari-DDL-Postgres-CREATE.sql");
-
-    // Let the initialization be performed by the jPA provider!
-    //persistenceProperties.setProperty(PersistenceUnitProperties.SCHEMA_GENERATION_SQL_LOAD_SCRIPT_SOURCE, getTestDataDDL());
-
-    //persistenceProperties.setProperty(PersistenceUnitProperties.SCHEMA_GENERATION_DROP_SOURCE, PersistenceUnitProperties.SCHEMA_GENERATION_METADATA_SOURCE);
-    persistenceProperties.setProperty(PersistenceUnitProperties.THROW_EXCEPTIONS, "true");
-
-    // todo remove these when switching to derby!
-    persistenceProperties.setProperty(PersistenceUnitProperties.JDBC_USER, "ambari");
-    persistenceProperties.setProperty(PersistenceUnitProperties.JDBC_PASSWORD, "bigdata");
-
-    return persistModule.properties(persistenceProperties);
-  }
-
-  private static String getTestDataDDL() {
-    return "ddl-func-test/ddl-cleanup-test-data.sql";
-  }
-
-  @AfterClass
-  public static void afterClass() {
-    injector.getInstance(AmbariJpaPersistService.class).stop();
-  }
-
-  /**
-   * Override JPA config values read from the ambari.properties
-   *
-   * @return
-   */
-  private static Properties getTestProperties() {
-    Properties properties = new Properties();
-    properties.put("server.jdbc.connection-pool", "internal");
-    properties.put("server.persistence.type", "remote");
-
-    properties.put("server.jdbc.driver", "org.postgresql.Driver");
-    properties.put("server.jdbc.user.name", "ambari");
-    //properties.put("server.jdbc.user.passwd", "bigdata");
-    properties.put("server.jdbc.url", "jdbc:postgresql://192.168.59.103:5432/ambari");
-    properties.put(Configuration.SHARED_RESOURCES_DIR_KEY, "/Users/lpuskas/prj/ambari/ambari-server/src/test/resources");
-
-    return properties;
-  }
-
-  @Before
-  public void setUp() throws Exception {
-  }
-
-  @Test
-  public void testIOCContext() throws Exception {
-
-    // WHEN
-    CleanupServiceImpl cleanupService = injector.getInstance(CleanupServiceImpl.class);
-
-    // THEN
-    Assert.assertNotNull("The cleanupService instance should be present in the IoC context", cleanupService);
-    //Assert.assertFalse("The cleanup registry shouldn't be empty", cleanupService.showCleanupRegistry().isEmpty());
-  }
-
-  @Test
-  public void testRunCleanup() throws Exception {
-    // GIVEN
-    CleanupService cleanupService = injector.getInstance(CleanupServiceImpl.class);
-    TimeBasedCleanupPolicy cleanupPolicy = new TimeBasedCleanupPolicy("cluster-1", 1455891250758L);
-
-    // WHEN
-    cleanupService.cleanup(cleanupPolicy);
-
-    // THEN
-    // todo assert eg.:on the amount of deleted rows
-
-  }
-
-  @Test
-  public void testServicesShouldBeInSingletonScope() throws Exception {
-    // GIVEN
-    // the cleanup guice context is build
-
-    // WHEN
-    CleanupService cleanupService1 = injector.getInstance(CleanupServiceImpl.class);
-    CleanupService cleanupService2 = injector.getInstance(CleanupServiceImpl.class);
-
-    // THEN
-    Assert.assertEquals("The ChainedCleanupService is not in Singleton scope!", cleanupService1, cleanupService2);
-    //Assert.assertEquals("Registered services are not is not in Singleton scope!", cleanupService1.showCleanupRegistry(), cleanupService2.showCleanupRegistry());
-
-  }
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceImplTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceImplTest.java b/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceImplTest.java
deleted file mode 100644
index 7de5aae..0000000
--- a/ambari-server/src/test/java/org/apache/ambari/server/cleanup/CleanupServiceImplTest.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.ambari.server.cleanup;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import org.apache.ambari.server.orm.dao.Cleanable;
-import org.easymock.Capture;
-import org.easymock.EasyMockRule;
-import org.easymock.Mock;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-
-import junit.framework.Assert;
-
-import static org.easymock.EasyMock.capture;
-import static org.easymock.EasyMock.expect;
-import static org.easymock.EasyMock.newCapture;
-import static org.easymock.EasyMock.replay;
-import static org.easymock.EasyMock.reset;
-
-
-public class CleanupServiceImplTest {
-
-  private static final String CLUSTER_NAME = "cluster-1";
-  private static final Long FROM_DATE_TIMESTAMP = 10L;
-
-  @Rule
-  public EasyMockRule mocks = new EasyMockRule(this);
-
-  @Mock
-  private Cleanable cleanableDao;
-
-  private CleanupServiceImpl cleanupServiceImpl;
-  private TimeBasedCleanupPolicy cleanupPolicy;
-  private Capture<TimeBasedCleanupPolicy> timeBasedCleanupPolicyCapture;
-  private Set cleanables;
-
-  @Before
-  public void setUp() throws Exception {
-    reset(cleanableDao);
-    timeBasedCleanupPolicyCapture = newCapture();
-    cleanupPolicy = new TimeBasedCleanupPolicy(CLUSTER_NAME, FROM_DATE_TIMESTAMP);
-  }
-
-  @Test
-  public void testShouldDaosBeCalledWithTheCleanupPolicy() throws Exception {
-    // GIVEN
-    cleanables = new HashSet<>();
-    cleanables.add(cleanableDao);
-    expect(cleanableDao.cleanup(capture(timeBasedCleanupPolicyCapture))).andReturn(2L);
-
-    replay(cleanableDao);
-    cleanupServiceImpl = new CleanupServiceImpl(cleanables);
-
-    // WHEN
-    long rows = cleanupServiceImpl.cleanup(cleanupPolicy);
-
-    // THEN
-    Assert.assertNotNull("The argument is null", timeBasedCleanupPolicyCapture.getValue());
-    Assert.assertEquals("The cluster name is wrong!", timeBasedCleanupPolicyCapture.getValue().getClusterName(), CLUSTER_NAME);
-    Assert.assertEquals("The to date is wrong!", timeBasedCleanupPolicyCapture.getValue().getToDateInMillis(), FROM_DATE_TIMESTAMP);
-  }
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/859345ba/ambari-server/src/test/resources/ddl-func-test/ddl-cleanup-test-data.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/resources/ddl-func-test/ddl-cleanup-test-data.sql b/ambari-server/src/test/resources/ddl-func-test/ddl-cleanup-test-data.sql
deleted file mode 100644
index 40902b4..0000000
--- a/ambari-server/src/test/resources/ddl-func-test/ddl-cleanup-test-data.sql
+++ /dev/null
@@ -1,6 +0,0 @@
-INSERT INTO stack (stack_id, stack_name, stack_version) VALUES (1, 'HDP', '2.4');
-INSERT INTO adminresourcetype (resource_type_id, resource_type_name) VALUES (1, 'AMBARI');
-INSERT INTO adminresource (resource_id, resource_type_id) VALUES (1, 1);
-INSERT INTO clusters (cluster_id, resource_id, cluster_info, cluster_name, provisioning_state, security_type, desired_cluster_state, desired_stack_id) VALUES (1, 1, '', 'downscaletest', 'INSTALLED', 'NONE', '', 1);
-INSERT INTO alert_definition (definition_id, cluster_id, definition_name, service_name, component_name, scope, label, description, enabled, schedule_interval, source_type, alert_source, hash, ignore_host) VALUES (1, 1, 'yarn_resourcemanager_rpc_latency', 'YARN', 'RESOURCEMANAGER', 'ANY', 'ResourceManager RPC Latency', 'This host-level alert is triggered if the ResourceManager operations RPC latency exceeds the configured critical threshold. Typically an increase in the RPC processing time increases the RPC queue length, causing the average queue wait time to increase for ResourceManager operations. The threshold values are in milliseconds.', 1, 5, 'METRIC', '{"uri":{"http":"{{yarn-site/yarn.resourcemanager.webapp.address}}","https":"{{yarn-site/yarn.resourcemanager.webapp.https.address}}","https_property":"{{yarn-site/yarn.http.policy}}","https_property_value":"HTTPS_ONLY","kerberos_keytab":"{{yarn-site/yarn.resourcemanager.webapp.spnego-keytab-file}}","kerberos_principal":"{{yarn-s
 ite/yarn.resourcemanager.webapp.spnego-principal}}","default_port":0,"connection_timeout":5.0,"high_availability":{"alias_key":"{{yarn-site/yarn.resourcemanager.ha.rm-ids}}","http_pattern":"{{yarn-site/yarn.resourcemanager.webapp.address.{{alias}}}}","https_pattern":"{{yarn-site/yarn.resourcemanager.webapp.https.address.{{alias}}}}"}},"jmx":{"property_list":["Hadoop:service\u003dResourceManager,name\u003dRpcActivityForPort*/RpcQueueTimeAvgTime","Hadoop:service\u003dResourceManager,name\u003dRpcActivityForPort*/RpcProcessingTimeAvgTime"],"value":"{0}"},"type":"METRIC","reporting":{"ok":{"text":"Average Queue Time:[{0}], Average Processing Time:[{1}]"},"warning":{"text":"Average Queue Time:[{0}], Average Processing Time:[{1}]","value":3000.0},"critical":{"text":"Average Queue Time:[{0}], Average Processing Time:[{1}]","value":5000.0},"units":"ms"}}', '1babf240-2131-40f6-81f5-65067bc82c14', 0);
-INSERT INTO alert_history (alert_id, cluster_id, alert_definition_id, service_name, component_name, host_name, alert_instance, alert_timestamp, alert_label, alert_state, alert_text) VALUES (1, 1, 1, 'AMBARI', 'AMBARI_AGENT', 'host-10-0-1-13.node.dc1.consul', NULL, 1455885271767, 'Host Disk Usage', 'OK', 'Capacity Used: [10.87%, 4.7 GB], Capacity Total: [42.9 GB], path=/usr/hdp');