You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dongming WU (Jira)" <ji...@apache.org> on 2022/08/11 03:13:00 UTC
[jira] [Created] (FLINK-28914) Could not find any factories that implement
Dongming WU created FLINK-28914:
-----------------------------------
Summary: Could not find any factories that implement
Key: FLINK-28914
URL: https://issues.apache.org/jira/browse/FLINK-28914
Project: Flink
Issue Type: Bug
Components: Table SQL / Gateway
Affects Versions: 1.16.0
Reporter: Dongming WU
Fix For: 1.16.0
2022-08-11 11:09:53,135 ERROR org.apache.flink.table.gateway.SqlGateway [] - Failed to start the endpoints.
org.apache.flink.table.api.ValidationException: Could not find any factories that implement 'org.apache.flink.table.gateway.api.endpoint.SqlGatewayEndpointFactory' in the classpath.
-----------------------------------------------------
I packaged Flink-Master and tried to start sql-gateway, but some problems arise.
I found tow problem with Factory under resources of flink-sql-gateway module.
META-INF.services should not be a folder name, ti should be ... /META-INF/services/...
The
`` org.apache.flink.table.gateway.rest.SqlGatewayRestEndpointFactory `` in the org.apache.flink.table.factories.Factory file should be
`` org.apache.flink.table.gateway.rest.util.SqlGatewayRestEndpointFactory `` .
--
This message was sent by Atlassian Jira
(v8.20.10#820010)