Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【presto-connector】Configuration property 'failure-detector.enabled' was not used #104

Open
jayboxyz opened this issue Jan 10, 2022 · 0 comments

Comments

@jayboxyz
Copy link

io.airlift.bootstrap.ApplicationConfigurationException: Configuration errors:

  1. 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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant