2016-12-05 125 views
1

我試圖啓動Presto以在RHEL計算機上查詢配置單元。在嘗試訪問配置單元時啓動Presto服務器時出錯

但同時通過"./launcher run"啓動普雷斯托服務器,我收到以下錯誤:

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

1) Configuration property 'http-server.http.port=8080 ' was not used 
    at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235) 

2) Error: Could not coerce value '8080 ' to int (property 'http-server.http.port') in order to call [public io.airlift.http.server.HttpServerConfig io.airlift.http.server.HttpServerConfig.setHttpPort(int)] 
    at io.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:74) 

3) Error: Invalid configuration property node.id: is malformed (for class io.airlift.node.NodeConfig.nodeId) 
    at io.airlift.node.NodeModule.configure(NodeModule.java:34) 

3 errors 
     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:242) 
     at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:116) 
     at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:67) 

回答