启动presto时在单机集群上安装了presto,收到此错误。com.facebook.presto.server.PrestoServer 无法创建注入器,请参阅以下错误:
1( 未使用配置属性"连接器" at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:234(
1 个错误com.google.inject.CreationException:无法创建注入器,请参阅以下错误:
1) Configuration property 'cordinator' was not used
at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:234)
1 error
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
at com.google.inject.Guice.createInjector(Guice.java:96)
at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:241)
at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:115)
at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:67)
下面是配置属性。
cordinator=true
node-scheduler.include-coordinator=true
http-server.http.port=8080
query.max-memory=5GB
query.max-memory-per-node=1GB
discovery-server.enabled=true
discovery.uri=http://localhost:8080
这
应该是coordinator
,而不是cordinator
。