aliyun-maxcompute-data-collectors
aliyun-maxcompute-data-collectors copied to clipboard
【presto-connector】Configuration property 'failure-detector.enabled' was not used
io.airlift.bootstrap.ApplicationConfigurationException: Configuration errors:
- Error: Configuration property 'failure-detector.enabled' was not used
1 error
at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:239)
at io.prestosql.server.testing.TestingPrestoServer.
迁移该presto-connector代码至openlookeng1.4(开发odps连接器),测试运行过程出现如上错误,请教测试类正确写法是怎样哈?
public static void installConnector(QueryRunner runner) {
Map<String, String> properties = new ImmutableMap.Builder<String, String>()
.put("odps.project.name", "xxxx")
.put("odps.access.id", "xxxx")
.put("odps.access.key", "xxxx")
.put("odps.end.point", "http://service.cn-hangzhou.maxcompute.aliyun.com/api")
.put("odps.tunnel.end.point", "http://dt.cn-hangzhou.maxcompute.aliyun.com")
.put("odps.input.split.size", "64")
//.put("failure-detector.enabled", "true")
.build();
runner.installPlugin(new OdpsPlugin());
runner.createCatalog("odps", "odps", properties);
}