-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45735/
-----------------------------------------------------------

Review request for Ambari, Andrew Onischuk and Dmytro Sen.


Bugs: AMBARI-15707
    https://issues.apache.org/jira/browse/AMBARI-15707


Repository: ambari


Description
-------

Database check failed with log:
{noformat}
2016-04-04 05:31:05,522 ERROR - Unexpected error, database check failed
com.google.inject.CreationException: Guice creation errors:

1) No implementation for org.apache.ambari.server.audit.AuditLogger was bound.
  while locating org.apache.ambari.server.audit.AuditLogger
    for field at 
org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.auditLogger(ActionDBAccessorImpl.java:86)
  at 
org.apache.ambari.server.controller.ControllerModule.configure(ControllerModule.java:325)

2) No implementation for org.apache.ambari.server.audit.AuditLogger was bound.
  while locating org.apache.ambari.server.audit.AuditLogger
    for field at 
org.apache.ambari.server.api.services.LogoutService.auditLogger(LogoutService.java:41)
  at 
org.apache.ambari.server.controller.ControllerModule.bindByAnnotation(ControllerModule.java:524)

2 errors
        at 
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
        at 
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
        at 
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
        at com.google.inject.Guice.createInjector(Guice.java:95)
        at com.google.inject.Guice.createInjector(Guice.java:72)
        at com.google.inject.Guice.createInjector(Guice.java:62)
        at 
org.apache.ambari.server.checks.CheckDatabaseHelper.main(CheckDatabaseHelper.java:523)
{noformat}


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDatabaseHelper.java
 2719b89 

Diff: https://reviews.apache.org/r/45735/diff/


Testing
-------

mvn clean test


Thanks,

Vitalyi Brodetskyi

Reply via email to