presto错误记录

1.错误:

1) Error: Defunct property 'task.max-memory' (class [class com.facebook.presto.execution.TaskManagerConfig]) cannot be configured.
  at com.facebook.presto.server.ServerMainModule.setup(ServerMainModule.java:254)

2) Configuration property 'task.max-memory=1GB' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

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

1) Error: Defunct property 'task.max-memory' (class [class com.facebook.presto.execution.TaskManagerConfig]) cannot be configured.
  at com.facebook.presto.server.ServerMainModule.setup(ServerMainModule.java:254)

2) Configuration property 'task.max-memory=1GB' was not used
  at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:235)

2 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:111)
    at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:63)

原因和解决方法:

配置文件的版本不对,按照自己版本的配置即可消除此错误。

2.错误:

2016-07-28T16:14:00.631+0800    ERROR   Announcer-0 io.airlift.discovery.client.Announcer   Service announcement failed after 557.75ms. Next request will happen within 1000.00ms
2016-07-28T16:14:01.798+0800    ERROR   Announcer-1 io.airlift.discovery.client.Announcer   Service announcement failed after 165.75ms. Next request will happen within 1000.00ms
2016-07-28T16:14:03.079+0800    ERROR   Announcer-4 io.airlift.discovery.client.Announcer   Service announcement failed after 280.31ms. Next request will happen within 1000.00ms
2016-07-28T16:14:04.638+0800    ERROR   Announcer-0 io.airlift.discovery.client.Announcer   Service announcement failed after 557.94ms. Next request will happen within 1000.00ms
2016-07-28T16:14:05.837+0800    ERROR   Announcer-1 io.airlift.discovery.client.Announcer   Service announcement failed after 197.69ms. Next request will happen within 1000.00ms
2016-07-28T16:14:07.086+0800    ERROR   Announcer-4 io.airlift.discovery.client.Announcer   Service announcement failed after 248.15ms. Next request will happen within 1000.00ms

原因和解决

stack overflow上的说明如下

This error message occurs because the service selectors and announcer start trying to connect while the server is still starting. You should see “succeeded for refresh” and “succeeded for announce” shortly after in the logs which shows that it’s working. We will fix the log message eventually but it’s purely a cosmetic issue.

目前的确是这样的,jps一下就可以看到PrestoServer的进程在,干掉重来即可。

  1. 错误:
presto:default> show schemas from hive;
Query 20160801_074338_00017_aw9xp failed: Catalog hive does not exis

任何查询相关的语句都会报这个错。

原因及解决

stack overflow上的哥们发的:

I’m not sure what changed. I double checked the discovery.uri setting and it was already correct. I restarted the coordinator and worker and now I can query using the presto-cli pointing to the coordinator.

我一想,应该是修改了配置文件,但是没有重启presto的原因,重启一下即可。


1 server refused connection


解决方案:检查presto是否启动,一般情况为presto没有启动

2No worker nodes available

解决方案:在config.properties中设置node-scheduler.include-coordinator=true

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

河南骏

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值