Open
Description
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.(TestingPrestoServer.java:297)
at io.prestosql.tests.DistributedQueryRunner.createTestingPrestoServer(DistributedQueryRunner.java:209)
at io.prestosql.tests.DistributedQueryRunner.(DistributedQueryRunner.java:139)
at io.prestosql.tests.DistributedQueryRunner$Builder.build(DistributedQueryRunner.java:593)
迁移该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);
}
Metadata
Metadata
Assignees
Labels
No labels