ERROR Discovery-0 io.airlift.discovery.client.CachingServiceSelecto

513 views
Skip to first unread message

azimud...@gmail.com

unread,
Aug 31, 2016, 11:15:36 AM8/31/16
to Presto
Hello All,

I am trying to start presto on my box with standalone mode, I am using the bin/launcher run command , I am getting below. Please let me know the solution if you have encounter this earlier.


2016-08-31T09:10:08.161-0600    ERROR   Discovery-0     io.airlift.discovery.client.CachingServiceSelector      Cannot connect to discovery server for refresh (presto/general): Lookup of presto failed with status code 404
2016-08-31T09:10:09.156-0600    ERROR   Discovery-2     io.airlift.discovery.client.CachingServiceSelector      Cannot connect to discovery server for refresh (collector/general): Lookup of collector failed with status code 404
2016-08-31T09:10:09.218-0600    WARN    http-client-shared-116  com.facebook.presto.metadata.RemoteNodeState    Error fetching node state from http://10.19.95.27:8080/v1/info/state returned status 404: Not Found
2016-08-31T09:10:09.318-0600    INFO    main    org.eclipse.jetty.server.Server jetty-9.3.11.v20160721
2016-08-31T09:10:09.320-0600    WARN    main    org.eclipse.jetty.server.handler.AbstractHandler        No Server set for org.eclipse.jetty.server.handler.ErrorHandler@54e12f4c
2016-08-31T09:10:09.861-0600    INFO    main    org.eclipse.jetty.server.handler.ContextHandler Started o.e.j.s.ServletContextHandler@58aa10f4{/,null,AVAILABLE,@http}
2016-08-31T09:10:09.923-0600    WARN    http-client-shared-27   com.facebook.presto.memory.RemoteNodeMemory     Error fetching memory info from http://10.19.95.27:8080/v1/memory returned status 404: Not Found
2016-08-31T09:10:09.964-0600    INFO    main    org.eclipse.jetty.server.Server jetty-9.3.11.v20160721
2016-08-31T09:10:09.965-0600    WARN    main    org.eclipse.jetty.server.handler.AbstractHandler        No Server set for org.eclipse.jetty.server.handler.ErrorHandler@1b8aaeab
2016-08-31T09:10:10.134-0600    INFO    main    org.eclipse.jetty.server.handler.ContextHandler Started o.e.j.s.ServletContextHandler@5bfc79cb{/,null,AVAILABLE,@http}
2016-08-31T09:10:10.258-0600    ERROR   main    com.facebook.presto.server.PrestoServer Unable to create injector, see the following errors:

1) Error in custom provider, java.lang.RuntimeException: java.net.BindException: Address already in use
  while locating io.airlift.http.server.HttpServerProvider
  at io.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:64)
  while locating io.airlift.http.server.HttpServer
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use
        at com.google.common.base.Throwables.propagate(Throwables.java:160)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:151)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:42)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:96)
        at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:242)
        at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:114)
        at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:65)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:390)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at io.airlift.http.server.HttpServer.start(HttpServer.java:381)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:147)
        ... 20 more

2) Error in custom provider, java.lang.RuntimeException: java.net.BindException: Address already in use
  while locating io.airlift.http.server.HttpServerProvider
  at io.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:64)
  while locating io.airlift.http.server.HttpServer
  at org.weakref.jmx.guice.GuiceMBeanExporter.<init>(GuiceMBeanExporter.java:34)
  at org.weakref.jmx.guice.MBeanModule.configure(MBeanModule.java:38)
  while locating org.weakref.jmx.guice.GuiceMBeanExporter
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use
        at com.google.common.base.Throwables.propagate(Throwables.java:160)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:151)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:42)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1047)
        at org.weakref.jmx.guice.GuiceMBeanExporter.export(GuiceMBeanExporter.java:73)
        at org.weakref.jmx.guice.GuiceMBeanExporter.<init>(GuiceMBeanExporter.java:35)
        at org.weakref.jmx.guice.GuiceMBeanExporter$$FastClassByGuice$$6cc63b28.newInstance(<generated>)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
        at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:96)
        at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:242)
        at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:114)
        at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:65)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:390)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at io.airlift.http.server.HttpServer.start(HttpServer.java:381)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:147)
        ... 37 more

2 errors
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) Error in custom provider, java.lang.RuntimeException: java.net.BindException: Address already in use
  while locating io.airlift.http.server.HttpServerProvider
  at io.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:64)
  while locating io.airlift.http.server.HttpServer
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use
        at com.google.common.base.Throwables.propagate(Throwables.java:160)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:151)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:42)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:96)
        at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:242)
        at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:114)
        at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:65)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:390)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at io.airlift.http.server.HttpServer.start(HttpServer.java:381)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:147)
        ... 20 more

2) Error in custom provider, java.lang.RuntimeException: java.net.BindException: Address already in use
  while locating io.airlift.http.server.HttpServerProvider
  at io.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:64)
  while locating io.airlift.http.server.HttpServer
  at org.weakref.jmx.guice.GuiceMBeanExporter.<init>(GuiceMBeanExporter.java:34)
  at org.weakref.jmx.guice.MBeanModule.configure(MBeanModule.java:38)
  while locating org.weakref.jmx.guice.GuiceMBeanExporter
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use
        at com.google.common.base.Throwables.propagate(Throwables.java:160)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:151)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:42)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1047)
        at org.weakref.jmx.guice.GuiceMBeanExporter.export(GuiceMBeanExporter.java:73)
        at org.weakref.jmx.guice.GuiceMBeanExporter.<init>(GuiceMBeanExporter.java:35)
        at org.weakref.jmx.guice.GuiceMBeanExporter$$FastClassByGuice$$6cc63b28.newInstance(<generated>)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
        at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:96)
        at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:242)
        at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:114)
        at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:65)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:390)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at io.airlift.http.server.HttpServer.start(HttpServer.java:381)
        at io.airlift.http.server.HttpServerProvider.get(HttpServerProvider.java:147)
        ... 37 more

2 errors
        at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:96)
        at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:242)
        at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:114)

Rickman, Brian T

unread,
Aug 31, 2016, 11:30:55 AM8/31/16
to presto...@googlegroups.com

This error:

1) Error in custom provider, java.lang.RuntimeException: java.net.BindException: Address already in use

 

Indicates that the port you assigned to the Presto server in config.properties is being used by some other process.  Try using a different port number.

--
You received this message because you are subscribed to the Google Groups "Presto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

azimud...@gmail.com

unread,
Aug 31, 2016, 11:52:46 AM8/31/16
to Presto, Brian....@teradata.com
Thanks Brian,
That resolved, I do see this message at the end  "2016-08-31T09:46:37.423-0600    INFO    main    com.facebook.presto.server.PrestoServer ======== SERVER STARTED ========

Also I see some error message int he middle of installation 

 "ERROR   Discovery-0     io.airlift.discovery.client.CachingServiceSelector      Cannot connect to discovery server for refresh (presto/general): Lookup of presto failed for http://dm1vmedg001.echostar.com:9080/v1/service/presto/general

Do I have to resolve it, I was reading some articles they said its a bug with presto. 

"
On Wednesday, August 31, 2016 at 9:30:55 AM UTC-6, Rickman, Brian T wrote:

This error:

1) Error in custom provider, java.lang.RuntimeException: java.net.BindException: Address already in use

 

Indicates that the port you assigned to the Presto server in config.properties is being used by some other process.  Try using a different port number.

 

From: presto...@googlegroups.com [mailto:presto...@googlegroups.com] On Behalf Of azimud...@gmail.com
Sent: Wednesday, August 31, 2016 11:16 AM
To: Presto
Subject: ERROR Discovery-0 io.airlift.discovery.client.CachingServiceSelecto

 

Hello All,

 

I am trying to start presto on my box with standalone mode, I am using the bin/launcher run command , I am getting below. Please let me know the solution if you have encounter this earlier.

 


2016-08-31T09:10:08.161-0600    ERROR   Discovery-0     io.airlift.discovery.client.CachingServiceSelector      Cannot connect to discovery server for refresh (presto/general): Lookup of presto failed with status code 404

2016-08-31T09:10:09.156-0600    ERROR   Discovery-2     io.airlift.discovery.client.CachingServiceSelector      Cannot connect to discovery server for refresh (collector/general): Lookup of collector failed with status code 404

2016-08-31T09:10:09.218-0600    WARN    http-client-shared-116  com.facebook.presto.metadata.RemoteNodeState    Error fetching node state from http://10.19.95.27:8080/v1/info/state returned status 404: Not Found

2016-08-31T09:10:09.318-0600    INFO    main    org.eclipse.jetty.server.Server jetty-9.3.11.v20160721

2016-08-31T09:10:09.320-0600    WARN    main    org.eclipse.jetty.server.handler.AbstractHandler        No Server set for org.eclipse.jetty.server.handler.ErrorHandler@54e12f4c

2016-08-31T09:10:09.861-0600    INFO    main    org.eclipse.jetty.server.handler.ContextHandler Started o.e.j.s.Servle...@58aa10f4{/,null,AVAILABLE,@http}

2016-08-31T09:10:09.923-0600    WARN    http-client-shared-27   com.facebook.presto.memory.RemoteNodeMemory     Error fetching memory info from http://10.19.95.27:8080/v1/memory returned status 404: Not Found

2016-08-31T09:10:09.964-0600    INFO    main    org.eclipse.jetty.server.Server jetty-9.3.11.v20160721

2016-08-31T09:10:09.965-0600    WARN    main    org.eclipse.jetty.server.handler.AbstractHandler        No Server set for org.eclipse.jetty.server.handler.ErrorHandler@1b8aaeab

2016-08-31T09:10:10.134-0600    INFO    main    org.eclipse.jetty.server.handler.ContextHandler Started o.e.j.s.Servle...@5bfc79cb{/,null,AVAILABLE,@http}

Rickman, Brian T

unread,
Aug 31, 2016, 12:07:27 PM8/31/16
to azimud...@gmail.com, Presto

If that error message was logged before the SERVER STARTED message, then you can safely ignore it.  Presto is made up of several different services, and some of them take a little longer to initialize than others.  If you see the SERVER STARTED message, then you know all of the services are running.

 

At this point you can access http://dm1vmedg001.echostar.com:9080 with a web browser to see the Presto server status.  You should also be able to connect with the CLI.

azimud...@gmail.com

unread,
Aug 31, 2016, 12:36:23 PM8/31/16
to Presto
Awesome Brian,
I am able to connect to presto through web browser and the cli. My next task is how I can make it work iwth my hive with kerberos enabled on cloudera  cdh5.

Rickman, Brian T

unread,
Aug 31, 2016, 12:47:29 PM8/31/16
to presto...@googlegroups.com

Configuring Presto to work with Kerberos is fairly complex.  You should start by reading the documentation:

 

https://prestodb.io/docs/current/security.html

 

https://prestodb.io/docs/current/connector/hive-security.html

 

You should also look at previous group messages related to Kerberos:

 

https://groups.google.com/forum/#!searchin/presto-users/kerberos%7Csort:relevance

 

 

From: presto...@googlegroups.com [mailto:presto...@googlegroups.com] On Behalf Of azimud...@gmail.com
Sent: Wednesday, August 31, 2016 12:36 PM
To: Presto
Subject: Re: ERROR Discovery-0 io.airlift.discovery.client.CachingServiceSelecto

 

Awesome Brian,

--

azimud...@gmail.com

unread,
Aug 31, 2016, 12:51:54 PM8/31/16
to Presto
Thanks A lot Brian, I will surely go through the documentation. 


On Wednesday, August 31, 2016 at 9:15:36 AM UTC-6, azimud...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages