【发布时间】:2018-09-26 15:29:45
【问题描述】:
我正在尝试更新 /etc/presto/conf/catalog/hive.properties 中的配置单元连接器属性。我添加了以下内容:
hive.s3.max-client-retries=50
hive.s3.max-error-retries=50
hive.s3.max-connections=500
hive.s3.connect-timeout=5m
hive.s3.socket-timeout=5m
但由于某种原因,这些不被接受。 presto 服务器重启失败,出现以下错误:
2018-04-16T19:34:26.369Z WARN main Bootstrap UNUSED PROPERTIES
2018-04-16T19:34:26.369Z WARN main Bootstrap hive.s3.connect-timeout
2018-04-16T19:34:26.369Z WARN main Bootstrap hive.s3.max-client-retries
2018-04-16T19:34:26.369Z WARN main Bootstrap hive.s3.max-connections
2018-04-16T19:34:26.369Z WARN main Bootstrap hive.s3.max-error-retries
2018-04-16T19:34:26.369Z WARN main Bootstrap hive.s3.socket-timeout
2018-04-16T19:34:26.369Z WARN main Bootstrap
2018-04-16T19:34:26.587Z ERROR main com.facebook.presto.server.PrestoServer Unable to create injector, see the following errors:
1) Configuration property 'hive.s3.connect-timeout' was not used
at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:234)
2) Configuration property 'hive.s3.max-client-retries' was not used
at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:234)
3) Configuration property 'hive.s3.max-connections' was not used
at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:234)
4) Configuration property 'hive.s3.max-error-retries' was not used
at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:234)
5) Configuration property 'hive.s3.socket-timeout' was not used
at io.airlift.bootstrap.Bootstrap.lambda$initialize$2(Bootstrap.java:234)
5 errors
【问题讨论】:
-
hive.s3-file-system-type的值是多少?这些属性适用于文件系统类型为PRESTO。 -
@PiotrFindeisen 你的评论看起来像是一个答案。
-
我将我的评论转化为答案。
标签: hive amazon-emr presto