Presto无法创建注入器,因为未使用配置属性“cordinator”

时间:2018-04-10 16:21:35

标签: presto

在启动presto获取此错误时,在单机群集上安装presto。 com.facebook.presto.server.PrestoServer无法创建注入器,请参阅以下错误:

1)未使用配置属性'cordinator'   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

1 个答案:

答案 0 :(得分:3)

这应该是python,而不是coordinator