Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[/] [Azkaban] unavailable com.google.inject.ConfigurationException: Guice configuration errors: #3031

Open
harryus10 opened this issue Jan 12, 2022 · 2 comments

Comments

@harryus10
Copy link

harryus10 commented Jan 12, 2022

I'm using azkaban 4.0.0 version of code.
I'm getting the below error during azkaban web server start up and unable to schedule event as well.

2022/01/18 04:39:49.624 -0600 INFO [ExecutionLogsCleaner] [Azkaban] Cleaning old logs from execution_logs
2022/01/18 04:39:49.624 -0600 INFO [ExecutionLogsCleaner] [Azkaban] Cleaning old logs from execution_logs
2022/01/18 04:39:49.650 -0600 INFO [AzkabanWebServer] [Azkaban] Setting up web resource dir web/
2022/01/18 04:39:49.650 -0600 INFO [AzkabanWebServer] [Azkaban] Setting up web resource dir web/
2022/01/18 04:39:49.663 -0600 INFO [ExecutionLogsCleaner] [Azkaban] Cleaning old log files before 2021-10-26T05:39:49.624-05:00
2022/01/18 04:39:49.663 -0600 INFO [ExecutionLogsCleaner] [Azkaban] Cleaning old log files before 2021-10-26T05:39:49.624-05:00
2022/01/18 04:39:49.775 -0600 INFO [JdbcTriggerImpl] [Azkaban] Loading all triggers from db.
2022/01/18 04:39:49.775 -0600 INFO [JdbcTriggerImpl] [Azkaban] Loading all triggers from db.
2022/01/18 04:39:49.781 -0600 INFO [JdbcTriggerImpl] [Azkaban] Loaded 0 triggers.
2022/01/18 04:39:49.781 -0600 INFO [JdbcTriggerImpl] [Azkaban] Loaded 0 triggers.
2022/01/18 04:39:49.808 -0600 INFO [WebMetricsImpl] [Azkaban] No metrics set up for Web server.
2022/01/18 04:39:49.808 -0600 INFO [WebMetricsImpl] [Azkaban] No metrics set up for Web server.
2022/01/18 04:39:49.808 -0600 INFO [log] [Azkaban] jetty-6.1.26
2022/01/18 04:39:49.865 -0600 ERROR [/] [Azkaban] unavailable
com.google.inject.ConfigurationException: Guice configuration errors:

  1. No implementation for azkaban.imagemgmt.services.ImageRampupService was bound.
    while locating azkaban.imagemgmt.services.ImageRampupService

1 error
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1045)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)
at azkaban.ServiceProvider.getInstance(ServiceProvider.java:54)
at azkaban.webapp.AzkabanWebServer.getImageRampupService(AzkabanWebServer.java:752)
at azkaban.imagemgmt.servlets.ImageRampupServlet.init(ImageRampupServlet.java:78)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at azkaban.webapp.AzkabanWebServer.prepareAndStartServer(AzkabanWebServer.java:530)
at azkaban.webapp.AzkabanWebServer.launch(AzkabanWebServer.java:258)
at azkaban.webapp.AzkabanWebServer.main(AzkabanWebServer.java:249)
2022/01/18 04:39:49.869 -0600 ERROR [/] [Azkaban] unavailable
com.google.inject.ConfigurationException: Guice configuration errors:

  1. No implementation for azkaban.imagemgmt.services.ImageTypeService was bound.
    while locating azkaban.imagemgmt.services.ImageTypeService

1 error
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1045)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)
at azkaban.ServiceProvider.getInstance(ServiceProvider.java:54)
at azkaban.webapp.AzkabanWebServer.getImageTypeService(AzkabanWebServer.java:744)
at azkaban.imagemgmt.servlets.ImageTypeServlet.init(ImageTypeServlet.java:67)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at azkaban.webapp.AzkabanWebServer.prepareAndStartServer(AzkabanWebServer.java:530)
at azkaban.webapp.AzkabanWebServer.launch(AzkabanWebServer.java:258)
at azkaban.webapp.AzkabanWebServer.main(AzkabanWebServer.java:249)
2022/01/18 04:39:49.870 -0600 ERROR [/] [Azkaban] unavailable
com.google.inject.ConfigurationException: Guice configuration errors:

  1. No implementation for azkaban.imagemgmt.services.ImageVersionService was bound.
    while locating azkaban.imagemgmt.services.ImageVersionService

1 error
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1045)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)
at azkaban.ServiceProvider.getInstance(ServiceProvider.java:54)
at azkaban.webapp.AzkabanWebServer.getImageVersionsService(AzkabanWebServer.java:748)
at azkaban.imagemgmt.servlets.ImageVersionServlet.init(ImageVersionServlet.java:78)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at azkaban.webapp.AzkabanWebServer.prepareAndStartServer(AzkabanWebServer.java:530)
at azkaban.webapp.AzkabanWebServer.launch(AzkabanWebServer.java:258)
at azkaban.webapp.AzkabanWebServer.main(AzkabanWebServer.java:249)
2022/01/18 04:39:49.871 -0600 INFO [ProjectManagerServlet] [Azkaban] downloadBufferSize: 8192
2022/01/18 04:39:49.871 -0600 INFO [ProjectManagerServlet] [Azkaban] downloadBufferSize: 8192
2022/01/18 04:39:50.037 -0600 INFO [RestLiAnnotationReader] [Azkaban] Processed actions resource 'azkaban.restli.ProjectManagerResource'
2022/01/18 04:39:50.073 -0600 INFO [RestLiAnnotationReader] [Azkaban] Processed actions resource 'azkaban.restli.UserManagerResource'
2022/01/18 04:39:50.282 -0600 INFO [ResourceMethodConfigProviderImpl] [Azkaban] RestLi MethodLevel Configuration for property timeoutMs sorted by priority - first match gets applied:
. = 0

2022/01/18 04:39:50.299 -0600 INFO [ResourceMethodConfigProviderImpl] [Azkaban] RestLi MethodLevel Configuration for property timeoutMs sorted by priority - first match gets applied:
. = 0

2022/01/18 04:39:50.299 -0600 INFO [ResourceMethodConfigProviderImpl] [Azkaban] RestLi MethodLevel Configuration for property timeoutMs sorted by priority - first match gets applied:
. = 0

2022/01/18 04:39:50.300 -0600 INFO [RestliServlet] [Azkaban] Initializing Rest.li with a thread based request handling. Set useAsync=true on a Servlet API 3.0 container to enable Rest.li's async servlet.
2022/01/18 04:39:50.307 -0600 INFO [log] [Azkaban] Started [email protected]:8081
2022/01/18 04:39:50.307 -0600 INFO [AzkabanWebServer] [Azkaban] Server started
2022/01/18 04:39:50.307 -0600 INFO [AzkabanWebServer] [Azkaban] Server started
2022/01/18 04:39:50.669 -0600 INFO [ExecutionLogsCleaner] [Azkaban] Cleaned up 0 log entries.
2022/01/18 04:39:50.669 -0600 INFO [ExecutionLogsCleaner] [Azkaban] Cleaned up 0 log entries.
2022/01/18 04:39:50.669 -0600 INFO [ExecutionLogsCleaner] [Azkaban] log clean up time: 1005 ms.
2022/01/18 04:39:50.669 -0600 INFO [ExecutionLogsCleaner] [Azkaban] log clean up time: 1005 ms.

Please let me know is there any cnfiguration missing ?

@wmtbnbo
Copy link

wmtbnbo commented Nov 11, 2022

Please,Have you solved this problem?

@seawenc
Copy link

seawenc commented Feb 2, 2023

how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants