Having problem setting presto up

198 views
Skip to first unread message

apoc...@gmail.com

unread,
Nov 7, 2013, 6:20:58 AM11/7/13
to presto...@googlegroups.com
I'm trying to get presto running with the launch script located in bin folder.

But the process couldn't get up. I got following exceptions in the server log.


2013-11-07T18:24:29.947+0800 INFO main Bootstrap node.pool general general
2013-11-07T18:24:29.947+0800 INFO main Bootstrap
2013-11-07T18:24:31.064+0800 WARN main io.airlift.jmx.JmxAgent Cannot determine if JMX agent is already running. Will try t o start it manually.
java.lang.NoSuchFieldException: jmxServer
at java.lang.Class.getDeclaredField(Unknown Source) ~[na:1.7.0]
at io.airlift.jmx.JmxAgent.getField(JmxAgent.java:146) [jmx-0.84.jar:0.84]
at io.airlift.jmx.JmxAgent.getRunningAgentAddress(JmxAgent.java:108) [jmx-0.84.jar:0.84]
at io.airlift.jmx.JmxAgent.<init>(JmxAgent.java:49) [jmx-0.84.jar:0.84]
at io.airlift.jmx.JmxAgent$$FastClassByGuice$$553f0c8a.newInstance(<generated>) [guice-3.0.jar:0.84]
at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) [guice-3.0.jar:na]
at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice- 3.0.jar:na]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-3.0.jar:na]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) [guice-3.0.jar:na]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-3.0.j ar:na]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) [guice-3.0.jar:na]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-3.0.jar: na]
at com.google.inject.Scopes$1$1.get(Scopes.java:65) [guice-3.0.jar:na]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) [guice-3.0.jar: na]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-3.0.jar:na]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-3.0.jar:na]
at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:83) [guice-3.0.jar:na]
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110) [guice-3.0.jar:na]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94) [guice-3.0.jar:na]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) [guice-3.0.jar:na]
at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:53) [guice-3.0.jar:na]
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978) [guice-3.0.jar:n

The config I'm using is just the same as the deployment instructions. Any help is appreciated. thanks!

Dain Sundstrom

unread,
Nov 7, 2013, 12:18:53 PM11/7/13
to presto...@googlegroups.com, apoc...@gmail.com
Looks like our JMX code isn't properly dealing with your Java Virtual Machine.   I filed an issue for this (https://github.com/airlift/airlift/issues/154) and we'll fix it in the next release.

We do all of our development with Oracle/Sun Java 7, so if you can switch to that in the mean time, it should work for you.   Also, can you run let me know which Java virtual machine implementation you are using, so we can test with it?

Simply run the following command to show your Java version and vendor:

$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

apoc...@gmail.com

unread,
Nov 7, 2013, 11:31:27 PM11/7/13
to presto...@googlegroups.com, apoc...@gmail.com
Hi Dain. Many thanks.

Here is the version output of my jvm:

$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

I'll also try the jvm 1.7.0_25


在 2013年11月8日星期五UTC+8上午1时18分53秒,Dain Sundstrom写道:

Dain Sundstrom

unread,
Nov 8, 2013, 2:21:38 AM11/8/13
to presto...@googlegroups.com, apoc...@gmail.com
I suggest you us the newest Java 1.7.0_45 (currently).  We tried this the other day and saw a significant performance boost over the version we were running.

-dain
Reply all
Reply to author
Forward
0 new messages