WuJiY commented on issue #6485:
URL: https://github.com/apache/seatunnel/issues/6485#issuecomment-1989932224
```
Mar 12, 2024 10:29:12 AM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Loading configuration
'/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/seatunnel.yaml' from
System property 'seatunnel.config'
Mar 12, 2024 10:29:12 AM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Using configuration file at
/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/seatunnel.yaml
Mar 12, 2024 10:29:12 AM
org.apache.seatunnel.engine.common.config.SeaTunnelConfig
INFO: seatunnel.home is /opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT
Mar 12, 2024 10:29:12 AM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Loading configuration
'/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/hazelcast.yaml' from
System property 'hazelcast.config'
Mar 12, 2024 10:29:12 AM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Using configuration file at
/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/hazelcast.yaml
Mar 12, 2024 10:29:12 AM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Loading configuration
'/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/hazelcast-client.yaml'
from System property 'hazelcast.client.config'
Mar 12, 2024 10:29:13 AM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Using configuration file at
/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/hazelcast-client.yaml
2024-03-12 10:29:13,208 INFO [.c.i.s.ClientInvocationService] [main] -
hz.client_1 [seatunnel] [5.1] Running with 2 response threads, dynamic=true
2024-03-12 10:29:13,255 INFO [c.h.c.LifecycleService ] [main] -
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is
STARTING
2024-03-12 10:29:13,259 INFO [c.h.c.LifecycleService ] [main] -
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is
STARTED
2024-03-12 10:29:13,281 INFO [.c.i.c.ClientConnectionManager] [main] -
hz.client_1 [seatunnel] [5.1] Trying to connect to cluster: seatunnel
2024-03-12 10:29:13,283 INFO [.c.i.c.ClientConnectionManager] [main] -
hz.client_1 [seatunnel] [5.1] Trying to connect to [172.16.1.244]:5801
2024-03-12 10:29:13,310 INFO [c.h.c.LifecycleService ] [main] -
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is
CLIENT_CONNECTED
2024-03-12 10:29:13,310 INFO [.c.i.c.ClientConnectionManager] [main] -
hz.client_1 [seatunnel] [5.1] Authenticated with server
[172.16.1.244]:5801:752644d0-536f-4f11-ad19-f067f7e27ebd, server version: 5.1,
local address: /172.16.1.244:58877
2024-03-12 10:29:13,311 INFO [c.h.i.d.Diagnostics ] [main] -
hz.client_1 [seatunnel] [5.1] Diagnostics disabled. To enable add
-Dhazelcast.diagnostics.enabled=true to the JVM arguments.
2024-03-12 10:29:13,331 INFO [c.h.c.i.s.ClientClusterService]
[hz.client_1.event-1] - hz.client_1 [seatunnel] [5.1]
Members [1] {
Member [172.16.1.244]:5801 - 752644d0-536f-4f11-ad19-f067f7e27ebd
}
2024-03-12 10:29:13,352 INFO [.c.i.s.ClientStatisticsService] [main] -
Client statistics is enabled with period 5 seconds.
2024-03-12 10:29:13,455 INFO [.ClientJobExecutionEnvironment] [main] - add
common jar in plugins :[]
2024-03-12 10:29:13,465 INFO [o.a.s.c.s.u.ConfigBuilder ] [main] -
Loading config file from path: ./config/ck/lake.template
2024-03-12 10:29:13,496 INFO [o.a.s.c.s.u.ConfigShadeUtils ] [main] - Load
config shade spi: [base64]
2024-03-12 10:29:13,541 INFO [o.a.s.c.s.u.ConfigBuilder ] [main] -
Parsed config file:
{
"env" : {
"job.mode" : "BATCH"
},
"source" : [
{
"schema" : {
"fields" : {
"age" : "int",
"name" : "string",
"email" : "string"
}
},
"catalog_name" : "aaa",
"iceberg.catalog.config" : {
"type" : "hadoop",
"warehouse" : "hdfs://testserver1:8020/iceberg/"
},
"namespace" : "st",
"plugin_name" : "Iceberg",
"table" : "bbb"
}
],
"sink" : [
{
"database" : "st",
"password" : "123456",
"host" : "testserver2:8123",
"plugin_name" : "Clickhouse",
"table" : "bbb",
"username" : "default"
}
]
}
2024-03-12 10:29:13,552 INFO [.s.p.d.AbstractPluginDiscovery] [main] - Load
SeaTunnelSink Plugin from
/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/connectors
2024-03-12 10:29:13,556 INFO [.s.p.d.AbstractPluginDiscovery] [main] -
Discovery plugin jar for: PluginIdentifier{engineType='seatunnel',
pluginType='source', pluginName='Iceberg'} at:
file:/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/connectors/connector-iceberg-2.3.5-SNAPSHOT.jar
2024-03-12 10:29:13,557 INFO [.s.p.d.AbstractPluginDiscovery] [main] -
Discovery plugin jar for: PluginIdentifier{engineType='seatunnel',
pluginType='sink', pluginName='Clickhouse'} at:
file:/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/connectors/connector-clickhouse-2.3.5-SNAPSHOT.jar
2024-03-12 10:29:13,559 INFO [p.MultipleTableJobConfigParser] [main] -
start generating all sources.
2024-03-12 10:29:13,615 INFO [a.s.c.s.i.IcebergCatalogLoader] [main] -
Hadoop config initialized: org.apache.hadoop.hdfs.HdfsConfiguration
2024-03-12 10:29:13,718 WARN [o.a.h.u.NativeCodeLoader ] [main] -
Unable to load native-hadoop library for your platform... using builtin-java
classes where applicable
2024-03-12 10:29:15,484 INFO [o.a.i.BaseMetastoreCatalog ] [main] -
Table loaded by catalog: aaa.st.bbb
2024-03-12 10:29:15,489 INFO [o.a.s.a.t.f.FactoryUtil ] [main] - get
the CatalogTable from source Iceberg: Iceberg.st.bbb
2024-03-12 10:29:15,497 INFO [.s.p.d.AbstractPluginDiscovery] [main] - Load
SeaTunnelSource Plugin from
/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/connectors
2024-03-12 10:29:15,502 INFO [.s.p.d.AbstractPluginDiscovery] [main] -
Discovery plugin jar for: PluginIdentifier{engineType='seatunnel',
pluginType='source', pluginName='Iceberg'} at:
file:/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/connectors/connector-iceberg-2.3.5-SNAPSHOT.jar
2024-03-12 10:29:15,504 INFO [p.MultipleTableJobConfigParser] [main] -
start generating all transforms.
2024-03-12 10:29:15,504 INFO [p.MultipleTableJobConfigParser] [main] -
start generating all sinks.
2024-03-12 10:29:15,506 WARN [p.MultipleTableJobConfigParser] [main] - The
Factory has not been implemented and the deprecated Plugin will be used.
2024-03-12 10:29:15,507 INFO [.s.p.d.AbstractPluginDiscovery] [main] - Load
SeaTunnelSink Plugin from
/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/connectors
2024-03-12 10:29:15,508 INFO [.s.p.d.AbstractPluginDiscovery] [main] -
Discovery plugin jar for: PluginIdentifier{engineType='seatunnel',
pluginType='sink', pluginName='Clickhouse'} at:
file:/opt/seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/connectors/connector-clickhouse-2.3.5-SNAPSHOT.jar
2024-03-12 10:29:15,510 INFO [c.h.c.LifecycleService ] [main] -
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is
SHUTTING_DOWN
2024-03-12 10:29:15,512 INFO [.c.i.c.ClientConnectionManager] [main] -
hz.client_1 [seatunnel] [5.1] Removed connection to endpoint:
[testserver1]:5801:752644d0-536f-4f11-ad19-f067f7e27ebd, connection:
ClientConnection{alive=false, connectionId=1,
channel=NioChannel{/testserver1:58877->/testserver1:5801},
remoteAddress=[testserver1]:5801, lastReadTime=2024-03-12 10:29:13.461,
lastWriteTime=2024-03-12 10:29:13.461, closedTime=2024-03-12 10:29:15.511,
connected server version=5.1}
2024-03-12 10:29:15,513 INFO [c.h.c.LifecycleService ] [main] -
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is
CLIENT_DISCONNECTED
2024-03-12 10:29:15,515 INFO [c.h.c.LifecycleService ] [main] -
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is
SHUTDOWN
2024-03-12 10:29:15,515 INFO [s.c.s.s.c.ClientExecuteCommand] [main] -
Closed SeaTunnel client......
Exception in thread "main" java.util.ServiceConfigurationError:
org.apache.seatunnel.api.sink.SeaTunnelSink: Provider
org.apache.seatunnel.connectors.seatunnel.iceberg.sink.IcebergSink could not be
instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:232)
at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
at
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.loadPluginInstance(AbstractPluginDiscovery.java:302)
at
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createOptionalPluginInstance(AbstractPluginDiscovery.java:183)
at
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:227)
at
org.apache.seatunnel.engine.core.parse.ConnectorInstanceLoader.loadSinkInstance(ConnectorInstanceLoader.java:77)
at
org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSink(JobConfigParser.java:194)
at
org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSinks(JobConfigParser.java:170)
at
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSink(MultipleTableJobConfigParser.java:531)
at
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:193)
at
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:88)
at
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:161)
at
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:146)
at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
at
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
Caused by: java.lang.InstantiationException:
org.apache.seatunnel.connectors.seatunnel.iceberg.sink.IcebergSink
at java.lang.Class.newInstance(Class.java:427)
at
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
... 15 more
Caused by: java.lang.NoSuchMethodException:
org.apache.seatunnel.connectors.seatunnel.iceberg.sink.IcebergSink.<init>()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 16 more
[2]+ Done clear
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]