Comments (6)
Any updates on this
from trino-gateway.
The error message was trimmed, making it difficult to determine the cause.
I think this is the same as #242.
from trino-gateway.
I am adding the whole log @oneonestar
2024-06-17T06:16:26.967Z ERROR main io.trino.gateway.baseapp.BaseApp Error loading managed app
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) [Guice/ErrorInCustomProvider]: IllegalStateException
at HaGatewayProviderModule.provideGateway(HaGatewayProviderModule.java:216)
at GatewayManagedApp.<init>(GatewayManagedApp.java:29)
\_ for 1st parameter gateway
while locating GatewayManagedApp
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
1 error
======================
Full classname legend:
======================
GatewayManagedApp: "io.trino.gateway.ha.GatewayManagedApp"
HaGatewayProviderModule: "io.trino.gateway.ha.module.HaGatewayProviderModule"
========================
End of classname legend:
========================
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251)
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1151)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1186)
at io.trino.gateway.baseapp.BaseApp.lambda$addManagedApps$1(BaseApp.java:187)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at io.trino.gateway.baseapp.BaseApp.addManagedApps(BaseApp.java:182)
at io.trino.gateway.baseapp.BaseApp.registerWithInjector(BaseApp.java:142)
at io.trino.gateway.baseapp.BaseApp.configureGuice(BaseApp.java:134)
at io.trino.gateway.baseapp.BaseApp.run(BaseApp.java:125)
at io.trino.gateway.baseapp.BaseApp.run(BaseApp.java:66)
at io.dropwizard.core.cli.EnvironmentCommand.run(EnvironmentCommand.java:66)
at io.dropwizard.core.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
at io.dropwizard.core.cli.Cli.run(Cli.java:78)
at io.dropwizard.core.Application.run(Application.java:94)
at io.trino.gateway.ha.HaGatewayLauncher.main(HaGatewayLauncher.java:49)
Caused by: java.lang.IllegalStateException
at java.base/java.util.OptionalInt.orElseThrow(OptionalInt.java:273)
at io.trino.gateway.ha.module.HaGatewayProviderModule.getApplicationPort(HaGatewayProviderModule.java:190)
at io.trino.gateway.ha.module.HaGatewayProviderModule.getProxyHandler(HaGatewayProviderModule.java:171)
at io.trino.gateway.ha.module.HaGatewayProviderModule.provideGateway(HaGatewayProviderModule.java:235)
at io.trino.gateway.ha.module.HaGatewayProviderModule$$FastClassByGuice$$86152.GUICE$TRAMPOLINE(<generated>)
at io.trino.gateway.ha.module.HaGatewayProviderModule$$FastClassByGuice$$86152.apply(<generated>)
at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:260)
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:300)
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1148)
... 13 more
2024-06-17T06:16:27.055Z INFO main stdout # WARNING: Unable to get Instrumentation. Dynamic Attach failed. You may add this JAR as -javaagent manually, or supply -Djdk.attach.allowAttachSelf
from trino-gateway.
There is some large-scale refactoring ongoing.
Please try #382 or wait for things to settle down a bit.
from trino-gateway.
@oneonestar I see the PR mentioned above is merged. Is there a docker image release, you guys are planning?
from trino-gateway.
We are working towards release 10 which will include a docker container. Stay tuned, but feel free to build it all locally from the main branch now and help us with testing.
from trino-gateway.
Related Issues (20)
- Open API spec for Gateway APIs HOT 4
- Move gateway related APIs under a dedicated path HOT 3
- Helm chart not available on any chart repository HOT 4
- Query History incorrectly treats source as a required field HOT 1
- Support declarative configuration for Trino backends
- Pass object instead of multiple strings to routingManager? HOT 5
- Test failed `Server configuration does not allow processing of the X-Forwarded-Proto header`
- Helm chart incompatible with Airlift config HOT 2
- The contents in `gateway-ha/src/main/resources/static` don't get updated during the build process.
- Remove usage of "backend" term
- Trino Gateway Routing Framework (WIP) HOT 2
- Release version 10 HOT 2
- Fix Indentation for Pod Annotations in deployment.yaml HOT 1
- Same DNS name for multiple clusters
- Docker compose warning HOT 2
- Quickstart docker trino images lacks process-forward conf HOT 1
- `system.runtime.kill_query` queries not routed to correct cluster
- `requestAnalyzer` is non functional
- trino-gateway how to skip backend tls with invalidate certificates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trino-gateway.