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

[BUG] preso server can't start, seeing "java.io.UncheckedIOException" #20449

Closed
leipanhz opened this issue Aug 1, 2023 · 2 comments
Closed
Labels

Comments

@leipanhz
Copy link

leipanhz commented Aug 1, 2023

Your Environment

  • Presto version used: 0.278.1
  • Storage (HDFS/S3/GCS..): S3
  • Data source and connector used: file connector
  • Deployment (Cloud or On-prem): cloud
  • Pastebin link to the complete debug logs: https://pastebin.com/NMmzsBZY

Expected Behavior

presto server starts

Current Behavior

not starting with errors in the server.log

Possible Solution

Steps to Reproduce

  1. Issue is seen after deploying 0.278.1 to the cluster, no other steps are performed

Screenshots (if appropriate)

2023-07-31T17:00:49.007-0700 INFO main com.facebook.airlift.jmx.JmxAgent JMX agent started and listening on presto-1.fyre.ibm.com:36181
2023-07-31T17:00:49.116-0700 ERROR main com.facebook.presto.server.PrestoServer Unable to create injector, see the following errors:

  1. Error in custom provider, java.lang.NullPointerException
    at com.facebook.airlift.discovery.client.DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
    while locating com.facebook.airlift.discovery.client.ServiceAnnouncement annotated with @com.google.inject.internal.Element(setName=,uniqueId=397, type=MULTIBINDER, keyType=)
    while locating java.util.Set<com.facebook.airlift.discovery.client.ServiceAnnouncement>
    for the 2nd parameter of com.facebook.airlift.discovery.client.Announcer.(Announcer.java:68)
    at com.facebook.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:64)
    while locating com.facebook.airlift.discovery.client.Announcer
    for the 2nd parameter of com.facebook.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:122)
    at com.facebook.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:122)
    while locating com.facebook.airlift.discovery.client.MergingServiceSelectorFactory
    at com.facebook.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:73)
    while locating com.facebook.airlift.discovery.client.ServiceSelectorFactory
    for the 1st parameter of com.facebook.airlift.discovery.client.ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:50)
    at com.facebook.airlift.event.client.HttpEventModule.configure(HttpEventModule.java:43)
    Caused by: java.lang.NullPointerException
    at com.facebook.airlift.discovery.client.DiscoveryBinder$HttpAnnouncementProvider.get(DiscoveryBinder.java:128)
    at com.facebook.airlift.discovery.client.DiscoveryBinder$HttpAnnouncementProvider.get(DiscoveryBinder.java:108)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:112)
    at com.facebook.airlift.bootstrap.LifeCycleModule.provision(LifeCycleModule.java:54)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at com.google.inject.internal.RealMultibinder$RealMultibinderProvider.doProvision(RealMultibinder.java:198)
    at com.google.inject.internal.RealMultibinder$RealMultibinderProvider.doProvision(RealMultibinder.java:151)
    at com.google.inject.internal.InternalProviderInstanceBindingImpl$Factory$1.call(InternalProviderInstanceBindingImpl.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:112)
    at com.facebook.airlift.bootstrap.LifeCycleModule.provision(LifeCycleModule.java:54)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.InternalProviderInstanceBindingImpl$Factory.get(InternalProviderInstanceBindingImpl.java:115)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
    at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
    at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:98)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:112)
    at com.facebook.airlift.bootstrap.LifeCycleModule.provision(LifeCycleModule.java:54)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:93)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
    at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:173)
    at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
    at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.access$300(InternalProviderInstanceBindingImpl.java:139)
    at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory$1.call(InternalProviderInstanceBindingImpl.java:169)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:112)
    at com.facebook.airlift.bootstrap.LifeCycleModule.provision(LifeCycleModule.java:54)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:164)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:62)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:82)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:147)
    at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:101)
    at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:245)
    at com.google.inject.internal.Initializer.injectAll(Initializer.java:140)
    at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:176)
    at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
    at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
    at com.google.inject.Guice.createInjector(Guice.java:87)
    at com.facebook.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:251)
    at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:143)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:85)

  2. Error in custom provider, java.lang.NullPointerException
    at com.facebook.airlift.discovery.client.DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
    ...
    Caused by: java.io.UncheckedIOException (same stack trace as error Add basic UncompressedColumnInput #3)

  3. Error injecting constructor, java.io.UncheckedIOException: Failed to bind to /0.0.0.0:8080
    at com.facebook.airlift.http.server.HttpServerInfo.(HttpServerInfo.java:48)
    at com.facebook.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:73)
    while locating com.facebook.airlift.http.server.HttpServerInfo
    for the 1st parameter of com.facebook.airlift.http.server.LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
    while locating com.facebook.airlift.http.server.LocalAnnouncementHttpServerInfo
    at com.facebook.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:86)
    while locating com.facebook.airlift.discovery.client.AnnouncementHttpServerInfo
    for the 1st parameter of com.facebook.airlift.discovery.client.DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
    at com.facebook.airlift.discovery.client.DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79) (via modules: com.facebook.presto.server.ServerMainModule -> com.facebook.presto.server.CoordinatorModule)
    Caused by: java.io.UncheckedIOException (same stack trace as error Add basic UncompressedColumnInput #3)

  4. Error injecting constructor, java.io.UncheckedIOException: Failed to bind to /0.0.0.0:8080
    at com.facebook.airlift.http.server.HttpServerInfo.(HttpServerInfo.java:48)
    at com.facebook.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:73)
    while locating com.facebook.airlift.http.server.HttpServerInfo
    for the 1st parameter of com.facebook.airlift.http.server.LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
    while locating com.facebook.airlift.http.server.LocalAnnouncementHttpServerInfo
    at com.facebook.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:86)
    while locating com.facebook.airlift.discovery.client.AnnouncementHttpServerInfo
    for the 1st parameter of com.facebook.airlift.discovery.client.DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
    at com.facebook.airlift.discovery.client.DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
    Caused by: java.io.UncheckedIOException (same stack trace as error Add basic UncompressedColumnInput #3)
    6 errors
    at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:543)
    at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:178)
    at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
    at com.google.inject.Guice.createInjector(Guice.java:87)
    at com.facebook.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:251)
    at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:143)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:85)

Context

@imjalpreet
Copy link
Member

@leipanhz Can you please share your cluster configs?

@tdcmeehan tdcmeehan moved this from 🆕 Unprioritized to 🏗 In progress in Bugs and support requests Aug 2, 2023
@leipanhz
Copy link
Author

leipanhz commented Mar 1, 2024

yes, it worked after I reinstall

@leipanhz leipanhz closed this as completed Mar 1, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Bugs and support requests Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants