You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Vitalyi Brodetskyi <vb...@hortonworks.com> on 2016/04/05 11:27:29 UTC

Review Request 45735: Dev Deploy: Unexpected error, database check failed

-----------------------------------------------------------
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


Re: Review Request 45735: Dev Deploy: Unexpected error, database check failed

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45735/#review127073
-----------------------------------------------------------


Ship it!




Ship It!

- Dmytro Sen


On Апрель 5, 2016, 9:27 д.п., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45735/
> -----------------------------------------------------------
> 
> (Updated Апрель 5, 2016, 9:27 д.п.)
> 
> 
> 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
> 
>


Re: Review Request 45735: Dev Deploy: Unexpected error, database check failed

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45735/#review127074
-----------------------------------------------------------


Ship it!




Ship It!

- Andrew Onischuk


On April 5, 2016, 9:27 a.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45735/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 9:27 a.m.)
> 
> 
> 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
> 
>