[ https://issues.apache.org/jira/browse/AMBARI-18631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15596515#comment-15596515 ]
Hudson commented on AMBARI-18631: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5849 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5849/]) AMBARI-18631. Incorporate database consistency check into main Ambari (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=dbe77dda8a21dffa7edc8228a9e65d8b72492034]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyChecker.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelperTest.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariServerTest.java * (edit) ambari-server/src/main/python/ambari_server/utils.py * (edit) ambari-server/src/test/python/TestUtils.py * (edit) ambari-server/src/main/python/ambari_server_main.py * (edit) ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java > Incorporate database consistency check into main Ambari process > --------------------------------------------------------------- > > Key: AMBARI-18631 > URL: https://issues.apache.org/jira/browse/AMBARI-18631 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Reporter: Vitaly Brodetskyi > Assignee: Vitaly Brodetskyi > Fix For: 2.5.0 > > Attachments: AMBARI-18631_branch_2.5.patch, AMBARI-18631_trunk.patch > > > Currently the database consistency check runs as a separate process prior > Ambari process. The database consistency checker load various modules needed > for performing the validations. (e.g. load stack definitions to be able to > compare service configs from stack with configs from db). > Once database consistency checker completed Ambari server is started. Ambari > server beside others loads the same modules as database consistency checker. > This double initialisation adds time to the ambari server startup time which > could be reduced if the database consistency check is moved into the ambari > server process. > Moreover the database consistency check may check at the beginning if the > database is empty and perform the checks only if there is data in the > database. -- This message was sent by Atlassian JIRA (v6.3.4#6332)