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

Cannot connect to discovery server for announce: Announcement failed with status code 404 #7768

Closed
BillLucky opened this issue Apr 6, 2017 · 14 comments

Comments

@BillLucky
Copy link

BillLucky commented Apr 6, 2017

Presto version:
This version of the code is released after 0.167, but 0.168 not released when the master pulled down, based on the custom development of some of the permissions function, but the discovery of the relevant code module did not move.

My development environment:
3 machines:
10.2.19.55 d1
10.2.19.56 d2
10.2.19.57 d3

ps:
d1 --> coordinator + worker
d2 --> worker
d3 --> worker

Expected situation: three workers available
Current situation: only one worker is available

But found d2 / d3 has been unable to join the cluster, the configuration is as follows:

d1 configuration file:
config.properties
coordinator = true
node-scheduler.include-coordinator = true
http-server.http.port = 8081
query.max-memory = 5GB
query.max-memory-per-node = 1GB
discovery-server.enabled = true
discovery.uri = http://10.2.19.55:8081

node.properties
node.environment=test
node.id=9b552087-6da5-4fbb-9871-c39e11cd851f
node.data-dir=/opt/app/presto-server-0.168-dp-SNAPSHOT/data/

d2 configuration file:
config.properties
coordinator = false
http-server.http.port = 8081
query.max-memory = 5GB
query.max-memory-per-node = 1GB
discovery.uri = http://10.2.19.55:8081

node.properties
node.environment=test
node.id=fedc0e99-d7d5-45ef-ae73-cd7969b12337
node.data-dir=/opt/app/presto-server-0.168-dp-SNAPSHOT/data/

d3 configuration file:
config.properties
coordinator = false
http-server.http.port = 8081
query.max-memory = 5GB
query.max-memory-per-node = 1GB
discovery.uri = http://10.2.19.55:8081

node.properties
node.environment=test
node.id=50354782-afc5-4f70-9eb8-a845e9881f52
node.data-dir=/opt/app/presto-server-0.168-dp-SNAPSHOT/data/

server.log

2017-04-06T17:05:53.113+0800 INFO main com.facebook.presto.server.PrestoServer ======== SERVER STARTED ========
5781 2017-04-06T17:05:53.113+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Cannot connect to discovery server for announce: Announcement failed with status code 404:
5782 2017-04-06T17:05:53.113+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 16.74ms. Next request will happen within 0.00s
5783 2017-04-06T17:05:53.122+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 3.68ms. Next request will happen within 1.00ms
5784 2017-04-06T17:05:53.130+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 5.99ms. Next request will happen within 2.00ms
5785 2017-04-06T17:05:53.140+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 5.62ms. Next request will happen within 4.00ms
5786 2017-04-06T17:05:53.151+0800 ERROR Announcer-4 io.airlift.discovery.client.Announcer Service announcement failed after 3.14ms. Next request will happen within 8.00ms
5787 2017-04-06T17:05:53.174+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 6.52ms. Next request will happen within 16.00ms
5788 2017-04-06T17:05:53.213+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 5.99ms. Next request will happen within 32.00ms
5789 2017-04-06T17:05:53.286+0800 ERROR Announcer-4 io.airlift.discovery.client.Announcer Service announcement failed after 8.19ms. Next request will happen within 64.00ms
5790 2017-04-06T17:05:53.420+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 6.30ms. Next request will happen within 128.00ms
5791 2017-04-06T17:05:53.683+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 6.27ms. Next request will happen within 256.00ms
5792 2017-04-06T17:05:54.204+0800 ERROR Announcer-4 io.airlift.discovery.client.Announcer Service announcement failed after 8.27ms. Next request will happen within 512.00ms
5793 2017-04-06T17:05:55.210+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 5.88ms. Next request will happen within 1000.00ms
5794 2017-04-06T17:05:56.219+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 8.04ms. Next request will happen within 1000.00ms
5795 2017-04-06T17:05:57.226+0800 ERROR Announcer-4 io.airlift.discovery.client.Announcer Service announcement failed after 6.85ms. Next request will happen within 1000.00ms
5796 2017-04-06T17:05:58.234+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 6.63ms. Next request will happen within 1000.00ms
5797 2017-04-06T17:05:59.243+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 8.06ms. Next request will happen within 1000.00ms
5798 2017-04-06T17:06:00.251+0800 ERROR Announcer-4 io.airlift.discovery.client.Announcer Service announcement failed after 7.70ms. Next request will happen within 1000.00ms
5799 2017-04-06T17:06:01.255+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 3.36ms. Next request will happen within 1000.00ms
5800 2017-04-06T17:06:02.259+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 4.17ms. Next request will happen within 1000.00ms
5801 2017-04-06T17:06:03.264+0800 ERROR Announcer-4 io.airlift.discovery.client.Announcer Service announcement failed after 4.13ms. Next request will happen within 1000.00ms
5802 2017-04-06T17:06:04.269+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 4.25ms. Next request will happen within 1000.00ms
5803 2017-04-06T17:06:05.272+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 2.76ms. Next request will happen within 1000.00ms
5804 2017-04-06T17:06:06.277+0800 ERROR Announcer-4 io.airlift.discovery.client.Announcer Service announcement failed after 3.98ms. Next request will happen within 1000.00ms
5805 2017-04-06T17:06:07.281+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 3.99ms. Next request will happen within 1000.00ms

Cluster available nodes, has always been only one, d2 / d3 of the workers have been unable to join the cluster?
curl d1:8081/v1/cluster | json_reformat
{
"runningQueries": 0,
"blockedQueries": 0,
"queuedQueries": 0,
"activeWorkers": 1,
"runningDrivers": 0,
"reservedMemory": 0.0,
"rowInputRate": 0.0,
"byteInputRate": 0.0,
"cpuTimeRate": 0.0
}

@electrum
Read a lot on the Internet you answer to this question, mainly in the following solutions:

  1. Use uuidgen to generate a unique uuid for each node
  2. wait for a while will be able to see "succeeded for refresh" and "succeeded for announce", but I waited for an hour and no use, it is strange.

Which of the above solutions does not seem to solve this problem for me?

Relevant questions answered address:
1.Presto server - Cannot connect to discovery server for announce
2.prestodb Cannot connect to discovery server for refresh

Thank you for reading, hoping to get your help.

@electrum
Copy link
Contributor

electrum commented Apr 6, 2017 via email

@BillLucky
Copy link
Author

BillLucky commented Apr 7, 2017

I found that all the discover services provided by the visit can not visit, has been reported 404, even if the machine is their visit to the d1 is also the wrong 404, which is why?

Does the discover server have a normal boot and work,How to make the discover normal service start?

@BillLucky
Copy link
Author

BillLucky commented Apr 7, 2017

I found that there is a lot of 404 logs on the machine d1 http-request.log, most and / v1 / announcement / related, as follows:

image

`2017-04-07T10:54:42.922+08:00 10.2.19.55 GET /v1/service/collector/general null 9b552087-6da5-4fbb-9871-c39e11cd851f 404 0 260 1 a703e1a4079f4d3b99cca6b8f378561b0000007769

2017-04-07T10:54:42.922+08:00 10.2.19.55 GET /v1/service/presto/general null 9b552087-6da5-4fbb-9871-c39e11cd851f 404 0 257 1 a703e1a4079f4d3b99cca6b8f378561b000000776a

2017-04-07T10:54:42.923+08:00 10.2.19.55 PUT /v1/announcement/9b552087-6da5-4fbb-9871-c39e11cd851f null 9b552087-6da5-4fbb-9871-c39e11cd851f 404 0 0 0 a703e1a4079f4d3b99cca6b8f378561b000000776b

2017-04-07T10:54:43.922+08:00 10.2.19.56 GET /v1/service/collector/general null fedc0e99-d7d5-45ef-ae73-cd7969b12337 404 0 260 1 a703e1a4079f4d3b99cca6b8f378561b000000776d

2017-04-07T10:54:43.923+08:00 10.2.19.56 GET /v1/service/presto/general null fedc0e99-d7d5-45ef-ae73-cd7969b12337 404 0 257 0 a703e1a4079f4d3b99cca6b8f378561b000000776f

2017-04-07T10:54:43.923+08:00 10.2.19.57 GET /v1/service/presto/general null 50354782-afc5-4f70-9eb8-a845e9881f52 404 0 257 1 a703e1a4079f4d3b99cca6b8f378561b0000007770

2017-04-07T10:54:43.923+08:00 10.2.19.57 PUT /v1/announcement/50354782-afc5-4f70-9eb8-a845e9881f52 null 50354782-afc5-4f70-9eb8-a845e9881f52 404 0 0 1 a703e1a4079f4d3b99cca6b8f378561b0000007771

2017-04-07T10:54:43.922+08:00 10.2.19.57 GET /v1/service/collector/general null 50354782-afc5-4f70-9eb8-a845e9881f52 404 0 260 1 a703e1a4079f4d3b99cca6b8f378561b000000776e

2017-04-07T10:54:43.922+08:00 10.2.19.56 PUT /v1/announcement/fedc0e99-d7d5-45ef-ae73-cd7969b12337 null fedc0e99-d7d5-45ef-ae73-cd7969b12337 404 0 0 1 a703e1a4079f4d3b99cca6b8f378561b000000776c

2017-04-07T10:54:43.924+08:00 10.2.19.55 GET /v1/service/collector/general null 9b552087-6da5-4fbb-9871-c39e11cd851f 404 0 260 1 a703e1a4079f4d3b99cca6b8f378561b0000007772

2017-04-07T10:54:43.924+08:00 10.2.19.55 PUT /v1/announcement/9b552087-6da5-4fbb-9871-c39e11cd851f null 9b552087-6da5-4fbb-9871-c39e11cd851f 404 0 0 1 a703e1a4079f4d3b99cca6b8f378561b0000007774

2017-04-07T10:54:43.924+08:00 10.2.19.55 GET /v1/service/presto/general null 9b552087-6da5-4fbb-9871-c39e11cd851f 404 0 257 1 a703e1a4079f4d3b99cca6b8f378561b0000007773`

I have read these requests are: io.airlift.discovery.client.HttpDiscoveryAnnouncementClient.announce issued.

jar version: discovery-0.142

Part of the code:
image

So now the point of view, is not understood as d1 on the Discovery service problems?

@BillLucky
Copy link
Author

I was inspired by the following technical blog, built a separate discover server node, found three nodes normal!

image

technical blog site: Prestodb install document

Just wonder why the built-in discovering server can not function properly.

Thank you @electrum ,If you have the idea of this problem, please give a reply, thank you ~

@electrum
Copy link
Contributor

electrum commented Apr 7, 2017

All the 404s lead me to believe the embedded discovery server is not enabled or fails to start.

When the server starts, it prints all the config properties. Please check for these lines:

2017-04-07T14:16:07.512-0700	INFO	main	Bootstrap	PROPERTY                                                              DEFAULT                           RUNTIME                                                                                                                                                                                                                                                                                                         DESCRIPTION
2017-04-07T14:16:07.512-0700	INFO	main	Bootstrap	discovery-server.enabled                                              false                             true
2017-04-07T14:16:07.527-0700	INFO	main	Bootstrap	discovery.max-age                                                     30.00s                            30.00s
2017-04-07T14:16:07.527-0700	INFO	main	Bootstrap	discovery.store-cache-ttl                                             1.00s                             1.00s

The last two lines come from the DiscoveryConfig class which is part of the discovery server. If you don't see those, something is wrong.

Another thing is to look for a thread created by the discovery server. Run the jstack command on the server PID and grep for replicator-dynamic.

@electrum
Copy link
Contributor

electrum commented Apr 7, 2017

There's another way. Hit this endpoint: http://10.2.19.55:8081/application.wadl

You should see /v1/store, /v1/announcement, etc.

@BillLucky
Copy link
Author

BillLucky commented Apr 8, 2017

I found in the independent discover service node: / v1 / announcement /, the current cluster has been used.
Then I will study why the embedded inside the product can not start the normal, thank you for your help! @electrum

By the way, you provide wadl address is great, whether to consider this written to the user documentation, to give other enthusiasts to reduce some of the exploration time. In addition, the separate build discover service is also recommended to put the user documentation, because I also spent more time to find this solution, I wish you lucky :) 👍

@yakcy
Copy link

yakcy commented Jul 13, 2017

@electrum #Hi, i get one problem similar to this when i run presto-0.155 on Centos7,can you give me a device to fix it.Thanks...
`2017-07-13T09:42:17.990+0800 INFO main Bootstrap
2017-07-13T09:42:19.558+0800 WARN main io.airlift.jmx.JmxAgent Cannot determine if JMX agent is already running (not an Oracle JVM?). Will try to start it manually.
2017-07-13T09:42:19.566+0800 INFO main stderr 错误: 代理抛出异常错误
2017-07-13T09:42:19.566+0800 INFO main stderr : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: qianzhi-centos7: qianzhi-centos7: unknown error
2017-07-13T09:42:19.570+0800 WARN main io.airlift.jmx.JmxAgent Cannot determine if JMX agent is already running (not an Oracle JVM?). Will try to start it manually.
2017-07-13T09:42:19.573+0800 INFO main stderr 错误: 代理抛出异常错误
2017-07-13T09:42:19.573+0800 INFO main stderr : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: qianzhi-centos7: qianzhi-centos7: unknown error
2017-07-13T09:42:19.585+0800 ERROR main com.facebook.presto.server.PrestoServer Unable to create injector, see the following errors:

  1. Error injecting constructor, java.lang.RuntimeException: 代理抛出异常错误
    at io.airlift.jmx.JmxAgent8.(JmxAgent8.java:49)
    at io.airlift.jmx.JmxModule.configure(JmxModule.java:51)
    while locating io.airlift.jmx.JmxAgent8
    while locating io.airlift.jmx.JmxAgent
    for parameter 0 at io.airlift.jmx.JmxModule$JmxAnnouncementProvider.setJmxAgent(JmxModule.java:68)
    while locating io.airlift.jmx.JmxModule$JmxAnnouncementProvider
    while locating io.airlift.discovery.client.ServiceAnnouncement annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=278, type=MULTIBINDER, keyType=)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:68) (via modules: io.airlift.discovery.client.DiscoveryModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<io.airlift.discovery.client.ServiceAnnouncement>
    for parameter 1 at io.airlift.discovery.client.Announcer.(Announcer.java:70)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:63)
    while locating io.airlift.discovery.client.Announcer
    for parameter 1 at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    while locating io.airlift.discovery.client.MergingServiceSelectorFactory
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:72)
    while locating io.airlift.discovery.client.ServiceSelectorFactory
    for parameter 0 at io.airlift.discovery.client.ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:49)
    at com.facebook.presto.server.ServerMainModule.setup(ServerMainModule.java:207)
    Caused by: java.lang.RuntimeException: 代理抛出异常错误
    at sun.management.Agent.error(Agent.java:510)
    at sun.management.Agent.error(Agent.java:502)
    at sun.management.Agent.startAgent(Agent.java:264)
    at sun.management.Agent.startAgent(Agent.java:447)
    at io.airlift.jmx.JmxAgent8.(JmxAgent8.java:79)
    at io.airlift.jmx.JmxAgent8$$FastClassByGuice$$52a284ee.newInstance()
    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.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
    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.BoundProviderFactory.get(BoundProviderFactory.java:61)
    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.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    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.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.spi.ProviderLookup$1.get(ProviderLookup.java:104)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    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.FactoryProxy.get(FactoryProxy.java:56)
    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.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)
    at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:174)
    at com.google.inject.internal.Initializer.injectAll(Initializer.java:108)
    at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)
    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:118)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:69)

  2. Error injecting constructor, java.lang.RuntimeException: 代理抛出异常错误
    at io.airlift.jmx.JmxAgent8.(JmxAgent8.java:49)
    at io.airlift.jmx.JmxModule.configure(JmxModule.java:51)
    while locating io.airlift.jmx.JmxAgent8
    while locating io.airlift.jmx.JmxAgent
    for parameter 0 at io.airlift.jmx.JmxModule$JmxAnnouncementProvider.setJmxAgent(JmxModule.java:68)
    while locating io.airlift.jmx.JmxModule$JmxAnnouncementProvider
    while locating io.airlift.discovery.client.ServiceAnnouncement annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=278, type=MULTIBINDER, keyType=)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:68) (via modules: io.airlift.discovery.client.DiscoveryModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<io.airlift.discovery.client.ServiceAnnouncement>
    for parameter 1 at io.airlift.discovery.client.Announcer.(Announcer.java:70)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:63)
    while locating io.airlift.discovery.client.Announcer
    for parameter 1 at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    while locating io.airlift.discovery.client.MergingServiceSelectorFactory
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:72)
    while locating io.airlift.discovery.client.ServiceSelectorFactory
    for parameter 0 at io.airlift.discovery.client.ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:49)
    at io.airlift.event.client.HttpEventModule.configure(HttpEventModule.java:42)
    Caused by: java.lang.RuntimeException: 代理抛出异常错误
    at sun.management.Agent.error(Agent.java:510)
    at sun.management.Agent.error(Agent.java:502)
    at sun.management.Agent.startAgent(Agent.java:264)
    at sun.management.Agent.startAgent(Agent.java:447)
    at io.airlift.jmx.JmxAgent8.(JmxAgent8.java:79)
    at io.airlift.jmx.JmxAgent8$$FastClassByGuice$$52a284ee.newInstance()
    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.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
    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.BoundProviderFactory.get(BoundProviderFactory.java:61)
    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.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    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.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.spi.ProviderLookup$1.get(ProviderLookup.java:104)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    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.FactoryProxy.get(FactoryProxy.java:56)
    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.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)
    at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:174)
    at com.google.inject.internal.Initializer.injectAll(Initializer.java:108)
    at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)
    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:118)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:69)

  3. Error in custom provider, java.lang.NullPointerException
    while locating io.airlift.jmx.JmxModule$JmxAnnouncementProvider
    while locating io.airlift.discovery.client.ServiceAnnouncement annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=278, type=MULTIBINDER, keyType=)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:68) (via modules: io.airlift.discovery.client.DiscoveryModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<io.airlift.discovery.client.ServiceAnnouncement>
    for parameter 1 at io.airlift.discovery.client.Announcer.(Announcer.java:70)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:63)
    while locating io.airlift.discovery.client.Announcer
    for parameter 1 at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    while locating io.airlift.discovery.client.MergingServiceSelectorFactory
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:72)
    while locating io.airlift.discovery.client.ServiceSelectorFactory
    for parameter 0 at io.airlift.discovery.client.ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:49)
    at com.facebook.presto.server.ServerMainModule.setup(ServerMainModule.java:207)
    Caused by: java.lang.NullPointerException
    at io.airlift.jmx.JmxModule$JmxAnnouncementProvider.get(JmxModule.java:75)
    at io.airlift.jmx.JmxModule$JmxAnnouncementProvider.get(JmxModule.java:60)
    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.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.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    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.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.spi.ProviderLookup$1.get(ProviderLookup.java:104)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    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.FactoryProxy.get(FactoryProxy.java:56)
    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.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)
    at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:174)
    at com.google.inject.internal.Initializer.injectAll(Initializer.java:108)
    at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)
    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:118)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:69)

  4. Error in custom provider, java.lang.NullPointerException
    while locating io.airlift.jmx.JmxModule$JmxAnnouncementProvider
    while locating io.airlift.discovery.client.ServiceAnnouncement annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=278, type=MULTIBINDER, keyType=)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:68) (via modules: io.airlift.discovery.client.DiscoveryModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<io.airlift.discovery.client.ServiceAnnouncement>
    for parameter 1 at io.airlift.discovery.client.Announcer.(Announcer.java:70)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:63)
    while locating io.airlift.discovery.client.Announcer
    for parameter 1 at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    while locating io.airlift.discovery.client.MergingServiceSelectorFactory
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:72)
    while locating io.airlift.discovery.client.ServiceSelectorFactory
    for parameter 0 at io.airlift.discovery.client.ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:49)
    at io.airlift.event.client.HttpEventModule.configure(HttpEventModule.java:42)
    Caused by: java.lang.NullPointerException
    at io.airlift.jmx.JmxModule$JmxAnnouncementProvider.get(JmxModule.java:75)
    at io.airlift.jmx.JmxModule$JmxAnnouncementProvider.get(JmxModule.java:60)
    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.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.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    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.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.spi.ProviderLookup$1.get(ProviderLookup.java:104)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    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.FactoryProxy.get(FactoryProxy.java:56)
    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.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)
    at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:174)
    at com.google.inject.internal.Initializer.injectAll(Initializer.java:108)
    at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)
    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:118)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:69)

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

  1. Error injecting constructor, java.lang.RuntimeException: 代理抛出异常错误
    at io.airlift.jmx.JmxAgent8.(JmxAgent8.java:49)
    at io.airlift.jmx.JmxModule.configure(JmxModule.java:51)
    while locating io.airlift.jmx.JmxAgent8
    while locating io.airlift.jmx.JmxAgent
    for parameter 0 at io.airlift.jmx.JmxModule$JmxAnnouncementProvider.setJmxAgent(JmxModule.java:68)
    while locating io.airlift.jmx.JmxModule$JmxAnnouncementProvider
    while locating io.airlift.discovery.client.ServiceAnnouncement annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=278, type=MULTIBINDER, keyType=)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:68) (via modules: io.airlift.discovery.client.DiscoveryModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<io.airlift.discovery.client.ServiceAnnouncement>
    for parameter 1 at io.airlift.discovery.client.Announcer.(Announcer.java:70)
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:63)
    while locating io.airlift.discovery.client.Announcer
    for parameter 1 at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    at io.airlift.discovery.client.DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:120)
    while locating io.airlift.discovery.client.MergingServiceSelectorFactory
    at io.airlift.discovery.client.DiscoveryModule.configure(DiscoveryModule.java:72)
    while locating io.airlift.discovery.client.ServiceSelectorFactory
    for parameter 0 at io.airlift.discovery.client.ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:49)
    at com.facebook.presto.server.ServerMainModule.setup(ServerMainModule.java:207)
    Caused by: java.lang.RuntimeException: 代理抛出异常错误
    at sun.management.Agent.error(Agent.java:510)
    at sun.management.Agent.error(Agent.java:502)
    at sun.management.Agent.startAgent(Agent.java:264)
    at sun.management.Agent.startAgent(Agent.java:447)
    at io.airlift.jmx.JmxAgent8.(JmxAgent8.java:79)
    at io.airlift.jmx.JmxAgent8$$FastClassByGuice$$52a284ee.newInstance()
    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.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
    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.BoundProviderFactory.get(BoundProviderFactory.java:61)
    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.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    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.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.spi.ProviderLookup$1.get(ProviderLookup.java:104)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    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.FactoryProxy.get(FactoryProxy.java:56)
    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.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:84)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)
    at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:174)
    at com.google.inject.internal.Initializer.injectAll(Initializer.java:108)
    at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)
    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:118)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:69)`

@BillLucky
Copy link
Author

java.net.UnknownHostException: qianzhi-centos7: qianzhi-centos7

In your configuration file using ip, or ip and host relationship configuration /etc/hosts inside to try again. @yakcy

@yakcy
Copy link

yakcy commented Aug 24, 2017

Thank you very much. It is solved by configuration /etc/hosts @BillLucky

@szd0000
Copy link

szd0000 commented Apr 3, 2018

@BillLucky Hello, I encountered a similar problem when using centos7 to build Presto cluster. How do I solve this problem?
(Worker nodes can not be found)
WARNING: Current OS file descriptor limit is 4096. Presto recommends at least 8192
2018-04-03T11:26:24.702+0800 INFO main io.airlift.log.Logging Logging to stderr
2018-04-03T11:26:24.705+0800 INFO main Bootstrap Loading configuration
2018-04-03T11:26:24.797+0800 INFO main Bootstrap Initializing logging
2018-04-03T11:26:25.467+0800 INFO main Bootstrap PROPERTY DEFAULT RUNTIME DESCRIPTION
2018-04-03T11:26:25.467+0800 INFO main Bootstrap event.max-output-stage-size 16MB 16MB
2018-04-03T11:26:25.467+0800 INFO main Bootstrap query.client.timeout 5.00m 5.00m
2018-04-03T11:26:25.467+0800 INFO main Bootstrap query.initial-hash-partitions 100 100
2018-04-03T11:26:25.467+0800 INFO main Bootstrap query-manager.initialization-required-workers 1 1 Minimum number of workers that must be available before the cluster will accept queries
2018-04-03T11:26:25.467+0800 INFO main Bootstrap query-manager.initialization-timeout 5.00m 5.00m After this time, the cluster will accept queries even if the minimum required workers are not available
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.max-concurrent-queries 1000 1000
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.max-history 100 100
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.max-length 1000000 1000000
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.max-queued-queries 5000 5000
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.min-expire-age 15.00m 15.00m
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.min-schedule-split-batch-size 100 100
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.execution-policy all-at-once all-at-once
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.manager-executor-pool-size 5 5
2018-04-03T11:26:25.468+0800 INFO main Bootstrap query.max-cpu-time 1000000000.00d 1000000000.00d
2018-04-03T11:26:25.469+0800 INFO main Bootstrap query.max-execution-time 100.00d 100.00d
2018-04-03T11:26:25.469+0800 INFO main Bootstrap query.max-run-time 100.00d 100.00d
2018-04-03T11:26:25.469+0800 INFO main Bootstrap query.queue-config-file null null
2018-04-03T11:26:25.469+0800 INFO main Bootstrap query.remote-task.max-callback-threads 1000 1000
2018-04-03T11:26:25.469+0800 INFO main Bootstrap query.remote-task.max-error-duration 5.00m 5.00m
2018-04-03T11:26:25.469+0800 INFO main Bootstrap query.remote-task.min-error-duration 5.00m 5.00m
2018-04-03T11:26:25.469+0800 INFO main Bootstrap query.schedule-split-batch-size 1000 1000
2018-04-03T11:26:25.469+0800 INFO main Bootstrap task.client.timeout 2.00m 2.00m
2018-04-03T11:26:25.469+0800 INFO main Bootstrap task.http-response-threads 100 100
2018-04-03T11:26:25.469+0800 INFO main Bootstrap task.http-timeout-threads 3 3
2018-04-03T11:26:25.469+0800 INFO main Bootstrap task.info.max-age 15.00m 15.00m
2018-04-03T11:26:25.469+0800 INFO main Bootstrap task.info-update-interval 3.00s 3.00s Interval between updating task data
2018-04-03T11:26:25.469+0800 INFO main Bootstrap task.initial-splits-per-node 16 16
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.legacy-scheduling-behavior false false
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.level-absolute-priority false false
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.level-time-multiplier 2 2 Factor that determines the target scheduled time for a level relative to the next
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.max-index-memory 64MB 64MB
2018-04-03T11:26:25.470+0800 INFO main Bootstrap driver.max-page-partitioning-buffer-size 32MB 32MB
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.max-partial-aggregation-memory 16MB 16MB
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.max-worker-threads 16 16
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.min-drivers 32 32
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.share-index-loading false false
2018-04-03T11:26:25.470+0800 INFO main Bootstrap sink.max-buffer-size 32MB 32MB
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.split-concurrency-adjustment-interval 100.00ms 100.00ms
2018-04-03T11:26:25.470+0800 INFO main Bootstrap task.status-refresh-max-wait 1.00s 1.00s
2018-04-03T11:26:25.471+0800 INFO main Bootstrap task.concurrency 16 16 Default number of local parallel jobs per worker
2018-04-03T11:26:25.471+0800 INFO main Bootstrap task.cpu-timer-enabled true true
2018-04-03T11:26:25.471+0800 INFO main Bootstrap task.task-notification-threads 5 5 Number of threads used for internal task event notifications
2018-04-03T11:26:25.471+0800 INFO main Bootstrap task.task-yield-threads 3 3 Number of threads used for setting yield signals
2018-04-03T11:26:25.471+0800 INFO main Bootstrap task.verbose-stats false false
2018-04-03T11:26:25.471+0800 INFO main Bootstrap task.writer-count 1 1 Number of writers per task
2018-04-03T11:26:25.471+0800 INFO main Bootstrap node-scheduler.include-coordinator true true
2018-04-03T11:26:25.471+0800 INFO main Bootstrap node-scheduler.max-pending-splits-per-task 10 10
2018-04-03T11:26:25.471+0800 INFO main Bootstrap node-scheduler.max-splits-per-node 100 100
2018-04-03T11:26:25.471+0800 INFO main Bootstrap node-scheduler.min-candidates 10 10
2018-04-03T11:26:25.471+0800 INFO main Bootstrap node-scheduler.network-topology legacy legacy
2018-04-03T11:26:25.471+0800 INFO main Bootstrap query.low-memory-killer.delay 5.00m 5.00m Delay between cluster running low on memory and invoking killer
2018-04-03T11:26:25.471+0800 INFO main Bootstrap query.low-memory-killer.policy none none
2018-04-03T11:26:25.471+0800 INFO main Bootstrap query.max-memory 20GB 20GB
2018-04-03T11:26:25.471+0800 INFO main Bootstrap query.max-memory-per-node 1717986918.40B 4GB
2018-04-03T11:26:25.472+0800 INFO main Bootstrap resources.reserved-system-memory 6871947673.60B 6871947673.60B
2018-04-03T11:26:25.472+0800 INFO main Bootstrap catalog.config-dir etc/catalog etc/catalog
2018-04-03T11:26:25.472+0800 INFO main Bootstrap catalog.disabled-catalogs null null
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.acknowledge-pages true true
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.client-threads 25 25
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.concurrent-request-multiplier 3 3
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.max-buffer-size 32MB 32MB
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.max-error-duration 5.00m 5.00m
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.max-response-size 16MB 16MB
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.min-error-duration 5.00m 5.00m
2018-04-03T11:26:25.472+0800 INFO main Bootstrap exchange.page-buffer-client.max-callback-threads 25 25
2018-04-03T11:26:25.472+0800 INFO main Bootstrap discovery-server.enabled false false
2018-04-03T11:26:25.472+0800 INFO main Bootstrap internal-communication.https.required false false
2018-04-03T11:26:25.472+0800 INFO main Bootstrap internal-communication.https.keystore.key null null
2018-04-03T11:26:25.473+0800 INFO main Bootstrap internal-communication.https.keystore.path null null
2018-04-03T11:26:25.473+0800 INFO main Bootstrap plugin.dir plugin plugin
2018-04-03T11:26:25.473+0800 INFO main Bootstrap maven.repo.local /root/.m2/repository /root/.m2/repository
2018-04-03T11:26:25.473+0800 INFO main Bootstrap maven.repo.remote [http://repo1.maven.org/maven2/] [http://repo1.maven.org/maven2/]
2018-04-03T11:26:25.473+0800 INFO main Bootstrap plugin.config-dir etc etc
2018-04-03T11:26:25.473+0800 INFO main Bootstrap plugin.bundles null null
2018-04-03T11:26:25.473+0800 INFO main Bootstrap coordinator true false
2018-04-03T11:26:25.473+0800 INFO main Bootstrap datasources null null
2018-04-03T11:26:25.473+0800 INFO main Bootstrap shutdown.grace-period 2.00m 2.00m
2018-04-03T11:26:25.473+0800 INFO main Bootstrap http.include-exception-in-response true true
2018-04-03T11:26:25.473+0800 INFO main Bootstrap presto.version null null
2018-04-03T11:26:25.473+0800 INFO main Bootstrap http-server.authentication.type [] [] Authentication types (supported types: CERTIFICATE, KERBEROS, PASSWORD)
2018-04-03T11:26:25.473+0800 INFO main Bootstrap experimental.max-spill-per-node 100GB 100GB
2018-04-03T11:26:25.473+0800 INFO main Bootstrap experimental.query-max-spill-per-node 100GB 100GB
2018-04-03T11:26:25.473+0800 INFO main Bootstrap experimental.aggregation-operator-unspill-memory-limit 4MB 4MB
2018-04-03T11:26:25.474+0800 INFO main Bootstrap colocated-joins-enabled false false Experimental: Use a colocated join when possible
2018-04-03T11:26:25.474+0800 INFO main Bootstrap cpu-cost-weight 75.0 75.0
2018-04-03T11:26:25.474+0800 INFO main Bootstrap optimizer.dictionary-aggregation false false
2018-04-03T11:26:25.474+0800 INFO main Bootstrap distributed-index-joins-enabled false false
2018-04-03T11:26:25.474+0800 INFO main Bootstrap distributed-joins-enabled true true
2018-04-03T11:26:25.474+0800 INFO main Bootstrap optimizer.enable-intermediate-aggregations false false
2018-04-03T11:26:25.474+0800 INFO main Bootstrap experimental.enable-new-stats-calculator false false
2018-04-03T11:26:25.474+0800 INFO main Bootstrap exchange.compression-enabled false false
2018-04-03T11:26:25.474+0800 INFO main Bootstrap fast-inequality-joins true true Use faster handling of inequality joins if it is possible
2018-04-03T11:26:25.474+0800 INFO main Bootstrap experimental.filter-and-project-min-output-page-row-count 256 256
2018-04-03T11:26:25.474+0800 INFO main Bootstrap experimental.filter-and-project-min-output-page-size 25kB 25kB
2018-04-03T11:26:25.474+0800 INFO main Bootstrap optimizer.force-single-node-output true true
2018-04-03T11:26:25.474+0800 INFO main Bootstrap histogram.implemenation NEW NEW
2018-04-03T11:26:25.474+0800 INFO main Bootstrap experimental.iterative-optimizer-enabled true true
2018-04-03T11:26:25.475+0800 INFO main Bootstrap experimental.iterative-optimizer-timeout 3.00m 3.00m
2018-04-03T11:26:25.475+0800 INFO main Bootstrap reorder-joins true true Experimental: Reorder joins to optimize plan
2018-04-03T11:26:25.475+0800 INFO main Bootstrap deprecated.legacy-array-agg false false
2018-04-03T11:26:25.475+0800 INFO main Bootstrap deprecated.legacy-join-using false false
2018-04-03T11:26:25.475+0800 INFO main Bootstrap deprecated.legacy-map-subscript false false
2018-04-03T11:26:25.475+0800 INFO main Bootstrap deprecated.legacy-order-by false false
2018-04-03T11:26:25.475+0800 INFO main Bootstrap deprecated.legacy-timestamp true true
2018-04-03T11:26:25.475+0800 INFO main Bootstrap memory-cost-weight 10.0 10.0
2018-04-03T11:26:25.475+0800 INFO main Bootstrap experimental.memory-revoking-target 0.5 0.5 When revoking memory, try to revoke so much that pool is filled below target at the end
2018-04-03T11:26:25.475+0800 INFO main Bootstrap experimental.memory-revoking-threshold 0.9 0.9 Revoke memory when memory pool is filled over threshold
2018-04-03T11:26:25.475+0800 INFO main Bootstrap network-cost-weight 15.0 15.0
2018-04-03T11:26:25.475+0800 INFO main Bootstrap optimizer.optimize-hash-generation true true
2018-04-03T11:26:25.475+0800 INFO main Bootstrap optimizer.optimize-metadata-queries false false
2018-04-03T11:26:25.475+0800 INFO main Bootstrap optimizer.optimize-mixed-distinct-aggregations false false
2018-04-03T11:26:25.475+0800 INFO main Bootstrap optimizer.optimize-single-distinct true true
2018-04-03T11:26:25.475+0800 INFO main Bootstrap pages-index.eager-compaction-enabled false false
2018-04-03T11:26:25.476+0800 INFO main Bootstrap parse-decimal-literals-as-double true true
2018-04-03T11:26:25.476+0800 INFO main Bootstrap optimizer.push-aggregation-through-join true true
2018-04-03T11:26:25.476+0800 INFO main Bootstrap optimizer.push-table-write-through-union true true
2018-04-03T11:26:25.476+0800 INFO main Bootstrap re2j.dfa-retries 5 5
2018-04-03T11:26:25.476+0800 INFO main Bootstrap re2j.dfa-states-limit 2147483647 2147483647
2018-04-03T11:26:25.476+0800 INFO main Bootstrap redistribute-writes true true
2018-04-03T11:26:25.476+0800 INFO main Bootstrap regex-library JONI JONI
2018-04-03T11:26:25.476+0800 INFO main Bootstrap experimental.resource-groups-enabled false false
2018-04-03T11:26:25.476+0800 INFO main Bootstrap scale-writers false false
2018-04-03T11:26:25.476+0800 INFO main Bootstrap spatial-joins-enabled true true Use spatial index for spatial joins when possible
2018-04-03T11:26:25.476+0800 INFO main Bootstrap experimental.spill-enabled false false
2018-04-03T11:26:25.476+0800 INFO main Bootstrap experimental.spiller-max-used-space-threshold 0.9 0.9
2018-04-03T11:26:25.476+0800 INFO main Bootstrap experimental.spiller-spill-path [] []
2018-04-03T11:26:25.476+0800 INFO main Bootstrap experimental.spiller-threads 4 4
2018-04-03T11:26:25.476+0800 INFO main Bootstrap writer-min-size 32MB 32MB Target minimum size of writer output when scaling writers
2018-04-03T11:26:25.476+0800 INFO main Bootstrap compiler.expression-cache-size 10000 10000
2018-04-03T11:26:25.477+0800 INFO main Bootstrap transaction.idle-check-interval 1.00m 1.00m Time interval between idle transactions checks
2018-04-03T11:26:25.477+0800 INFO main Bootstrap transaction.idle-timeout 5.00m 5.00m Amount of time before an inactive transaction is considered expired
2018-04-03T11:26:25.477+0800 INFO main Bootstrap transaction.max-finishing-concurrency 1 1 Maximum parallelism for committing or aborting a transaction
2018-04-03T11:26:25.477+0800 INFO main Bootstrap discovery.uri null http://192.168.1.158:8080 Discovery service base URI
2018-04-03T11:26:25.477+0800 INFO main Bootstrap service-inventory.uri null null Service inventory base URI
2018-04-03T11:26:25.477+0800 INFO main Bootstrap service-inventory.update-interval 10.00s 10.00s Service inventory update interval
2018-04-03T11:26:25.477+0800 INFO main Bootstrap discovery.collector.pool general general
2018-04-03T11:26:25.477+0800 INFO main Bootstrap discovery.presto.pool general general
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.authentication.enabled false false Enable client authentication
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.use-blocking-connect false false
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.connect-timeout 1.00s 1.00s
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.http2.enabled false false Enable the HTTP/2 transport
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.http2.session-receive-window-size 16MB 16MB Initial size of session's flow control receive window for HTTP/2
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.http2.stream-receive-window-size 16MB 16MB Initial size of stream's flow control receive window for HTTP/2
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.http2.input-buffer-size 8kB 8kB Size of the buffer used to read from the network for HTTP/2
2018-04-03T11:26:25.477+0800 INFO main Bootstrap node-manager.http-client.idle-timeout 30.00s 30.00s
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.keep-alive-interval null null
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.authentication.krb5.principal null null Set kerberos client principal
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.authentication.krb5.remote-service-name null null Set kerberos service principal name
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.key-store-password null null
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.key-store-path null null
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.log.enabled false false
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.log.max-history 15 15
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.log.max-size 1GB 1GB
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.log.path var/log/ var/log/ The name of the log file will be prefixed with the name of the HTTP client (<client_name>-http-client.log)
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.log.queue-size 10000 10000
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.max-connections 200 200
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.max-connections-per-server 20 20
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.max-content-length 16MB 16MB
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.max-requests-queued-per-destination 1024 1024
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.max-threads 200 200
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.min-threads 8 8
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.record-request-complete true true
2018-04-03T11:26:25.478+0800 INFO main Bootstrap node-manager.http-client.request-timeout 10.00s 10.00s
2018-04-03T11:26:25.479+0800 INFO main Bootstrap node-manager.http-client.secure-random-algorithm null null
2018-04-03T11:26:25.479+0800 INFO main Bootstrap node-manager.http-client.selector-count 2 2
2018-04-03T11:26:25.479+0800 INFO main Bootstrap node-manager.http-client.socks-proxy null null
2018-04-03T11:26:25.479+0800 INFO main Bootstrap node-manager.http-client.timeout-concurrency 1 1 Number of concurrent locks for timeout
2018-04-03T11:26:25.479+0800 INFO main Bootstrap node-manager.http-client.timeout-threads 1 1 Total number of timeout threads
2018-04-03T11:26:25.479+0800 INFO main Bootstrap node-manager.http-client.trust-store-password null null
2018-04-03T11:26:25.479+0800 INFO main Bootstrap node-manager.http-client.trust-store-path null null
2018-04-03T11:26:25.479+0800 INFO main Bootstrap exchange.http-client.authentication.enabled false false Enable client authentication
2018-04-03T11:26:25.479+0800 INFO main Bootstrap exchange.http-client.use-blocking-connect false false
2018-04-03T11:26:25.479+0800 INFO main Bootstrap exchange.http-client.connect-timeout 1.00s 1.00s
2018-04-03T11:26:25.479+0800 INFO main Bootstrap exchange.http-client.http2.enabled false false Enable the HTTP/2 transport
2018-04-03T11:26:25.479+0800 INFO main Bootstrap exchange.http-client.http2.session-receive-window-size 16MB 16MB Initial size of session's flow control receive window for HTTP/2
2018-04-03T11:26:25.479+0800 INFO main Bootstrap exchange.http-client.http2.stream-receive-window-size 16MB 16MB Initial size of stream's flow control receive window for HTTP/2
2018-04-03T11:26:25.479+0800 INFO main Bootstrap exchange.http-client.http2.input-buffer-size 8kB 8kB Size of the buffer used to read from the network for HTTP/2
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.idle-timeout 30.00s 30.00s
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.keep-alive-interval null null
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.authentication.krb5.principal null null Set kerberos client principal
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.authentication.krb5.remote-service-name null null Set kerberos service principal name
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.key-store-password null null
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.key-store-path null null
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.log.enabled false false
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.log.max-history 15 15
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.log.max-size 1GB 1GB
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.log.path var/log/ var/log/ The name of the log file will be prefixed with the name of the HTTP client (<client_name>-http-client.log)
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.log.queue-size 10000 10000
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.max-connections 200 200
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.max-connections-per-server 250 250
2018-04-03T11:26:25.486+0800 INFO main Bootstrap exchange.http-client.max-content-length 32MB 32MB
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.max-requests-queued-per-destination 1024 1024
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.max-threads 200 200
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.min-threads 8 8
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.record-request-complete true true
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.request-timeout 10.00s 10.00s
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.secure-random-algorithm null null
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.selector-count 2 2
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.socks-proxy null null
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.timeout-concurrency 1 1 Number of concurrent locks for timeout
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.timeout-threads 1 1 Total number of timeout threads
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.trust-store-password null null
2018-04-03T11:26:25.487+0800 INFO main Bootstrap exchange.http-client.trust-store-path null null
2018-04-03T11:26:25.487+0800 INFO main Bootstrap discovery.http-client.authentication.enabled false false Enable client authentication
2018-04-03T11:26:25.487+0800 INFO main Bootstrap discovery.http-client.use-blocking-connect false false
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.connect-timeout 1.00s 1.00s
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.http2.enabled false false Enable the HTTP/2 transport
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.http2.session-receive-window-size 16MB 16MB Initial size of session's flow control receive window for HTTP/2
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.http2.stream-receive-window-size 16MB 16MB Initial size of stream's flow control receive window for HTTP/2
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.http2.input-buffer-size 8kB 8kB Size of the buffer used to read from the network for HTTP/2
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.idle-timeout 1.00m 1.00m
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.keep-alive-interval null null
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.authentication.krb5.principal null null Set kerberos client principal
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.authentication.krb5.remote-service-name null null Set kerberos service principal name
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.key-store-password null null
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.key-store-path null null
2018-04-03T11:26:25.488+0800 INFO main Bootstrap discovery.http-client.log.enabled false false
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.log.max-history 15 15
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.log.max-size 1GB 1GB
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.log.path var/log/ var/log/ The name of the log file will be prefixed with the name of the HTTP client (<client_name>-http-client.log)
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.log.queue-size 10000 10000
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.max-connections 200 200
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.max-connections-per-server 20 20
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.max-content-length 16MB 16MB
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.max-requests-queued-per-destination 1024 1024
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.max-threads 200 200
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.min-threads 8 8
2018-04-03T11:26:25.489+0800 INFO main Bootstrap discovery.http-client.record-request-complete true true
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.request-timeout 5.00m 5.00m
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.secure-random-algorithm null null
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.selector-count 2 2
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.socks-proxy null null
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.timeout-concurrency 1 1 Number of concurrent locks for timeout
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.timeout-threads 1 1 Total number of timeout threads
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.trust-store-password null null
2018-04-03T11:26:25.490+0800 INFO main Bootstrap discovery.http-client.trust-store-path null null
2018-04-03T11:26:25.490+0800 INFO main Bootstrap event.http-client.authentication.enabled false false Enable client authentication
2018-04-03T11:26:25.490+0800 INFO main Bootstrap event.http-client.use-blocking-connect false false
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.connect-timeout 1.00s 1.00s
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.http2.enabled false false Enable the HTTP/2 transport
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.http2.session-receive-window-size 16MB 16MB Initial size of session's flow control receive window for HTTP/2
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.http2.stream-receive-window-size 16MB 16MB Initial size of stream's flow control receive window for HTTP/2
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.http2.input-buffer-size 8kB 8kB Size of the buffer used to read from the network for HTTP/2
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.idle-timeout 1.00m 1.00m
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.keep-alive-interval null null
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.authentication.krb5.principal null null Set kerberos client principal
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.authentication.krb5.remote-service-name null null Set kerberos service principal name
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.key-store-password null null
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.key-store-path null null
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.log.enabled false false
2018-04-03T11:26:25.491+0800 INFO main Bootstrap event.http-client.log.max-history 15 15
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.log.max-size 1GB 1GB
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.log.path var/log/ var/log/ The name of the log file will be prefixed with the name of the HTTP client (<client_name>-http-client.log)
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.log.queue-size 10000 10000
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.max-connections 200 200
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.max-connections-per-server 20 20
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.max-content-length 16MB 16MB
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.max-requests-queued-per-destination 1024 1024
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.max-threads 200 200
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.min-threads 8 8
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.record-request-complete true true
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.request-timeout 5.00m 5.00m
2018-04-03T11:26:25.492+0800 INFO main Bootstrap event.http-client.secure-random-algorithm null null
2018-04-03T11:26:25.493+0800 INFO main Bootstrap event.http-client.selector-count 2 2
2018-04-03T11:26:25.493+0800 INFO main Bootstrap event.http-client.socks-proxy null null
2018-04-03T11:26:25.493+0800 INFO main Bootstrap event.http-client.timeout-concurrency 1 1 Number of concurrent locks for timeout
2018-04-03T11:26:25.493+0800 INFO main Bootstrap event.http-client.timeout-threads 1 1 Total number of timeout threads
2018-04-03T11:26:25.493+0800 INFO main Bootstrap event.http-client.trust-store-password null null
2018-04-03T11:26:25.493+0800 INFO main Bootstrap event.http-client.trust-store-path null null
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http.authentication.krb5.config null null Set kerberos configuration path
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http.authentication.krb5.credential-cache null null Set kerberos credential cache path
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http.authentication.krb5.keytab null null Set kerberos key table path
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http.authentication.krb5.use-canonical-hostname true true Canonicalize service hostname using the DNS reverse lookup
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http-server.admin.enabled true true
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http-server.admin.threads.max 200 200
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http-server.admin.threads.min 2 2
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http-server.admin.port 0 0
2018-04-03T11:26:25.493+0800 INFO main Bootstrap http-server.http2.session-receive-window-size 16MB 16MB Initial size of session's flow control receive window for HTTP/2
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http2.stream-receive-window-size 16MB 16MB Initial size of stream's flow control receive window for HTTP/2
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http2.input-buffer-size 8kB 8kB Size of the buffer used to read from the network for HTTP/2
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http2.max-concurrent-streams 16384 16384 Maximum concurrent streams per connection for HTTP/2
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http2.stream-idle-timeout 15.00s 15.00s
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.accept-queue-size 8000 8000
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http.acceptor-threads null null
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http.enabled true true
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http.port 8080 8080
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.http.selector-threads null null
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.acceptor-threads null null
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.enabled false false
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.excluded-cipher [] []
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.included-cipher [] []
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.port 8443 8443
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.selector-threads null null
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.keymanager.password [REDACTED] [REDACTED]
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.keystore.key [REDACTED] [REDACTED]
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.https.keystore.path null null
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.log.enabled true true
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.log.max-history 15 15
2018-04-03T11:26:25.494+0800 INFO main Bootstrap http-server.log.max-size 9223372036854775807B 9223372036854775807B
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.log.path var/log/http-request.log var/log/http-request.log
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.max-request-header-size null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.threads.max 200 200
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.threads.min 2 2
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.net.max-idle-time 200.00s 200.00s
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.log.queue-size 10000 10000
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.https.secure-random-algorithm null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.show-stack-trace true true Show the stack trace when generating an error response
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.threads.max-idle-time 1.00m 1.00m
2018-04-03T11:26:25.495+0800 INFO main Bootstrap http-server.auth.users-file null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap jmx.rmiregistry.port null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap jmx.rmiserver.port null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.binary-spec null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.config-spec null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.environment null prestocolony
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.internal-address-source IP IP
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.location null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.bind-ip null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.external-address null null
2018-04-03T11:26:25.495+0800 INFO main Bootstrap node.id null 2ae56825-b07d-493c-95b4-5e55033c6ca9
2018-04-03T11:26:25.496+0800 INFO main Bootstrap node.internal-address null null
2018-04-03T11:26:25.496+0800 INFO main Bootstrap node.pool general general
2018-04-03T11:26:26.504+0800 WARN main io.airlift.jmx.JmxAgent Cannot determine if JMX agent is already running (not an Oracle JVM?). Will try to start it manually.
2018-04-03T11:26:26.548+0800 INFO main io.airlift.jmx.JmxAgent JMX agent started and listening on master:42568
2018-04-03T11:26:27.700+0800 INFO main org.eclipse.jetty.server.Server jetty-9.4.8.v20171121, build timestamp: 2017-11-22T05:27:37+08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
2018-04-03T11:26:28.048+0800 WARN main org.glassfish.jersey.internal.inject.Providers A provider com.facebook.presto.server.StatusResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider com.facebook.presto.server.StatusResource will be ignored.
2018-04-03T11:26:28.048+0800 WARN main org.glassfish.jersey.internal.inject.Providers A provider com.facebook.presto.server.TaskResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider com.facebook.presto.server.TaskResource will be ignored.
2018-04-03T11:26:28.048+0800 WARN main org.glassfish.jersey.internal.inject.Providers A provider io.airlift.jmx.MBeanResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider io.airlift.jmx.MBeanResource will be ignored.
2018-04-03T11:26:28.048+0800 WARN main org.glassfish.jersey.internal.inject.Providers A provider com.facebook.presto.server.ServerInfoResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider com.facebook.presto.server.ServerInfoResource will be ignored.
2018-04-03T11:26:28.048+0800 WARN main org.glassfish.jersey.internal.inject.Providers A provider com.facebook.presto.server.ThreadResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider com.facebook.presto.server.ThreadResource will be ignored.
2018-04-03T11:26:28.049+0800 WARN main org.glassfish.jersey.internal.inject.Providers A provider com.facebook.presto.memory.MemoryResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider com.facebook.presto.memory.MemoryResource will be ignored.
2018-04-03T11:26:28.232+0800 INFO main org.eclipse.jetty.server.handler.ContextHandler Started o.e.j.s.ServletContextHandler@367f0121{/,null,AVAILABLE,@http}
2018-04-03T11:26:28.241+0800 INFO main org.eclipse.jetty.server.AbstractConnector Started http@79e66b2f{HTTP/1.1,[http/1.1, h2c]}{0.0.0.0:8080}
2018-04-03T11:26:28.241+0800 INFO main org.eclipse.jetty.server.Server Started @3875ms
2018-04-03T11:26:28.865+0800 INFO main io.airlift.bootstrap.LifeCycleManager Life cycle starting...
2018-04-03T11:26:28.866+0800 INFO main io.airlift.bootstrap.LifeCycleManager Life cycle startup complete. System ready.
2018-04-03T11:26:28.866+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/accumulo --
2018-04-03T11:26:28.887+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.accumulo.AccumuloPlugin
2018-04-03T11:26:28.899+0800 INFO main com.facebook.presto.server.PluginManager Registering connector accumulo
2018-04-03T11:26:28.906+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.accumulo.udf.AccumuloStringFunctions
2018-04-03T11:26:28.912+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/accumulo --
2018-04-03T11:26:28.912+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/atop --
2018-04-03T11:26:28.923+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.atop.AtopPlugin
2018-04-03T11:26:28.935+0800 INFO main com.facebook.presto.server.PluginManager Registering connector atop
2018-04-03T11:26:28.936+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/atop --
2018-04-03T11:26:28.936+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/blackhole --
2018-04-03T11:26:28.938+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.plugin.blackhole.BlackHolePlugin
2018-04-03T11:26:28.946+0800 INFO main com.facebook.presto.server.PluginManager Registering connector blackhole
2018-04-03T11:26:28.947+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/blackhole --
2018-04-03T11:26:28.948+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/cassandra --
2018-04-03T11:26:28.958+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.cassandra.CassandraPlugin
2018-04-03T11:26:28.966+0800 INFO main com.facebook.presto.server.PluginManager Registering connector cassandra
2018-04-03T11:26:28.968+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/cassandra --
2018-04-03T11:26:28.968+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/example-http --
2018-04-03T11:26:28.974+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.example.ExamplePlugin
2018-04-03T11:26:28.982+0800 INFO main com.facebook.presto.server.PluginManager Registering connector example-http
2018-04-03T11:26:28.983+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/example-http --
2018-04-03T11:26:28.983+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/geospatial --
2018-04-03T11:26:28.986+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.plugin.geospatial.GeoPlugin
2018-04-03T11:26:28.995+0800 INFO main com.facebook.presto.server.PluginManager Registering type Geometry
2018-04-03T11:26:28.995+0800 INFO main com.facebook.presto.server.PluginManager Registering type BingTile
2018-04-03T11:26:29.000+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.plugin.geospatial.GeoFunctions
2018-04-03T11:26:29.026+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.plugin.geospatial.BingTileOperators
2018-04-03T11:26:29.030+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.plugin.geospatial.BingTileFunctions
2018-04-03T11:26:29.039+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/geospatial --
2018-04-03T11:26:29.040+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/hive-hadoop2 --
2018-04-03T11:26:29.063+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.hive.HiveHadoop2Plugin
2018-04-03T11:26:29.070+0800 INFO main com.facebook.presto.server.PluginManager Registering connector hive-hadoop2
2018-04-03T11:26:29.072+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/hive-hadoop2 --
2018-04-03T11:26:29.072+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/jmx --
2018-04-03T11:26:29.080+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.connector.jmx.JmxPlugin
2018-04-03T11:26:29.087+0800 INFO main com.facebook.presto.server.PluginManager Registering connector jmx
2018-04-03T11:26:29.088+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/jmx --
2018-04-03T11:26:29.088+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/kafka --
2018-04-03T11:26:29.097+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.kafka.KafkaPlugin
2018-04-03T11:26:29.105+0800 INFO main com.facebook.presto.server.PluginManager Registering connector kafka
2018-04-03T11:26:29.107+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/kafka --
2018-04-03T11:26:29.108+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/localfile --
2018-04-03T11:26:29.117+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.localfile.LocalFilePlugin
2018-04-03T11:26:29.126+0800 INFO main com.facebook.presto.server.PluginManager Registering connector localfile
2018-04-03T11:26:29.127+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/localfile --
2018-04-03T11:26:29.128+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/memory --
2018-04-03T11:26:29.136+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.plugin.memory.MemoryPlugin
2018-04-03T11:26:29.144+0800 INFO main com.facebook.presto.server.PluginManager Registering connector memory
2018-04-03T11:26:29.145+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/memory --
2018-04-03T11:26:29.146+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/ml --
2018-04-03T11:26:29.153+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.ml.MLPlugin
2018-04-03T11:26:29.162+0800 INFO main com.facebook.presto.server.PluginManager Registering type Model
2018-04-03T11:26:29.163+0800 INFO main com.facebook.presto.server.PluginManager Registering type Regressor
2018-04-03T11:26:29.163+0800 INFO main com.facebook.presto.server.PluginManager Registering parametric type Classifier
2018-04-03T11:26:29.168+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.LearnClassifierAggregation
2018-04-03T11:26:29.173+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.LearnVarcharClassifierAggregation
2018-04-03T11:26:29.175+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.LearnRegressorAggregation
2018-04-03T11:26:29.179+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.LearnLibSvmClassifierAggregation
2018-04-03T11:26:29.186+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.LearnLibSvmVarcharClassifierAggregation
2018-04-03T11:26:29.189+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.LearnLibSvmRegressorAggregation
2018-04-03T11:26:29.194+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.EvaluateClassifierPredictionsAggregation
2018-04-03T11:26:29.197+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.MLFunctions
2018-04-03T11:26:29.200+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.ml.MLFeaturesFunctions
2018-04-03T11:26:29.221+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/ml --
2018-04-03T11:26:29.221+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/mongodb --
2018-04-03T11:26:29.227+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.mongodb.MongoPlugin
2018-04-03T11:26:29.235+0800 INFO main com.facebook.presto.server.PluginManager Registering type ObjectId
2018-04-03T11:26:29.237+0800 INFO main com.facebook.presto.server.PluginManager Registering connector mongodb
2018-04-03T11:26:29.241+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.mongodb.ObjectIdFunctions
2018-04-03T11:26:29.247+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/mongodb --
2018-04-03T11:26:29.247+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/mysql --
2018-04-03T11:26:29.258+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.plugin.mysql.MySqlPlugin
2018-04-03T11:26:29.265+0800 INFO main com.facebook.presto.server.PluginManager Registering connector mysql
2018-04-03T11:26:29.266+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/mysql --
2018-04-03T11:26:29.266+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/password-authenticators --
2018-04-03T11:26:29.271+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.password.PasswordAuthenticatorPlugin
2018-04-03T11:26:29.280+0800 INFO main com.facebook.presto.server.PluginManager Registering password authenticator ldap
2018-04-03T11:26:29.280+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/password-authenticators --
2018-04-03T11:26:29.280+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/postgresql --
2018-04-03T11:26:29.293+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.plugin.postgresql.PostgreSqlPlugin
2018-04-03T11:26:29.300+0800 INFO main com.facebook.presto.server.PluginManager Registering connector postgresql
2018-04-03T11:26:29.301+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/postgresql --
2018-04-03T11:26:29.301+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/presto-thrift --
2018-04-03T11:26:29.315+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.connector.thrift.ThriftPlugin
2018-04-03T11:26:29.319+0800 INFO main com.facebook.presto.server.PluginManager Registering connector presto-thrift
2018-04-03T11:26:29.320+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/presto-thrift --
2018-04-03T11:26:29.320+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/raptor --
2018-04-03T11:26:29.351+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.raptor.RaptorPlugin
2018-04-03T11:26:29.355+0800 INFO main com.facebook.presto.server.PluginManager Registering connector raptor
2018-04-03T11:26:29.357+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/raptor --
2018-04-03T11:26:29.357+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/redis --
2018-04-03T11:26:29.365+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.redis.RedisPlugin
2018-04-03T11:26:29.374+0800 INFO main com.facebook.presto.server.PluginManager Registering connector redis
2018-04-03T11:26:29.375+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/redis --
2018-04-03T11:26:29.376+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/redshift --
2018-04-03T11:26:29.384+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.plugin.redshift.RedshiftPlugin
2018-04-03T11:26:29.391+0800 INFO main com.facebook.presto.server.PluginManager Registering connector redshift
2018-04-03T11:26:29.392+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/redshift --
2018-04-03T11:26:29.392+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/resource-group-managers --
2018-04-03T11:26:29.400+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.resourceGroups.ResourceGroupManagerPlugin
2018-04-03T11:26:29.410+0800 INFO main com.facebook.presto.server.PluginManager Registering resource group configuration manager file
2018-04-03T11:26:29.410+0800 INFO main com.facebook.presto.server.PluginManager Registering resource group configuration manager db
2018-04-03T11:26:29.410+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/resource-group-managers --
2018-04-03T11:26:29.410+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/sqlserver --
2018-04-03T11:26:29.424+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.plugin.sqlserver.SqlServerPlugin
2018-04-03T11:26:29.430+0800 INFO main com.facebook.presto.server.PluginManager Registering connector sqlserver
2018-04-03T11:26:29.432+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/sqlserver --
2018-04-03T11:26:29.432+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/teradata-functions --
2018-04-03T11:26:29.434+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.teradata.functions.TeradataFunctionsPlugin
2018-04-03T11:26:29.447+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.teradata.functions.TeradataDateFunctions
2018-04-03T11:26:29.454+0800 INFO main com.facebook.presto.server.PluginManager Registering functions from com.facebook.presto.teradata.functions.TeradataStringFunctions
2018-04-03T11:26:29.460+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/teradata-functions --
2018-04-03T11:26:29.460+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/tpcds --
2018-04-03T11:26:29.463+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.tpcds.TpcdsPlugin
2018-04-03T11:26:29.470+0800 INFO main com.facebook.presto.server.PluginManager Registering connector tpcds
2018-04-03T11:26:29.471+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/tpcds --
2018-04-03T11:26:29.471+0800 INFO main com.facebook.presto.server.PluginManager -- Loading plugin /opt/presto-data/plugin/tpch --
2018-04-03T11:26:29.473+0800 INFO main com.facebook.presto.server.PluginManager Installing com.facebook.presto.tpch.TpchPlugin
2018-04-03T11:26:29.480+0800 INFO main com.facebook.presto.server.PluginManager Registering connector tpch
2018-04-03T11:26:29.482+0800 INFO main com.facebook.presto.server.PluginManager -- Finished loading plugin /opt/presto-data/plugin/tpch --
2018-04-03T11:26:29.498+0800 INFO main com.facebook.presto.metadata.StaticCatalogStore -- Loading catalog etc/catalog/mysql.properties --
2018-04-03T11:26:29.746+0800 INFO main Bootstrap PROPERTY DEFAULT RUNTIME DESCRIPTION
2018-04-03T11:26:29.746+0800 INFO main Bootstrap connection-password [REDACTED] [REDACTED]
2018-04-03T11:26:29.746+0800 INFO main Bootstrap connection-url null jdbc:mysql://192.168.1.99:3306
2018-04-03T11:26:29.746+0800 INFO main Bootstrap connection-user null nmarking
2018-04-03T11:26:29.746+0800 INFO main Bootstrap allow-drop-table false false Allow connector to drop tables
2018-04-03T11:26:29.746+0800 INFO main Bootstrap mysql.auto-reconnect true true
2018-04-03T11:26:29.746+0800 INFO main Bootstrap mysql.connection-timeout 10.00s 10.00s
2018-04-03T11:26:29.746+0800 INFO main Bootstrap mysql.max-reconnects 3 3
2018-04-03T11:26:29.894+0800 INFO main io.airlift.bootstrap.LifeCycleManager Life cycle starting...
2018-04-03T11:26:29.894+0800 INFO main io.airlift.bootstrap.LifeCycleManager Life cycle startup complete. System ready.
2018-04-03T11:26:29.895+0800 INFO main com.facebook.presto.metadata.StaticCatalogStore -- Added catalog mysql using connector mysql --
2018-04-03T11:26:29.896+0800 INFO main com.facebook.presto.security.AccessControlManager -- Loading system access control --
2018-04-03T11:26:29.897+0800 INFO main com.facebook.presto.security.AccessControlManager -- Loaded system access control allow-all --

@sbmaggarwal
Copy link

@BillLucky I do not understand what changes do we need to make to /etc/hosts file. Can you please provide a sample?

@Kayron013
Copy link

Kayron013 commented Feb 26, 2021

@sbmaggarwal Did you find out how to utilize /etc/hosts?
@BillLucky ?

@BillLucky
Copy link
Author

In a Java program, when your program reports an error that a host domain name cannot be recognized, you will usually see an error like "java.net.UnknownHostException" in the log.

This means that the program cannot identify the specific IP through DNS, so you can configure /etc/hosts on your local computer or server for mapping to help your program correctly find the IP behind it, and it will work normally.

for example: @sbmaggarwal
192.168.1.6 you.website.com

The following quoted links are information that may be useful to you.

  1. https://man7.org/linux/man-pages/man5/hosts.5.html
  2. https://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap9sec95.html
  3. https://en.wikipedia.org/wiki/Hosts_(file)

FYI @Kayron013 @sbmaggarwal

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

6 participants