You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "cqutwangyu (via GitHub)" <gi...@apache.org> on 2024/02/04 06:14:18 UTC
[I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
cqutwangyu opened a new issue, #6333:
URL: https://github.com/apache/seatunnel/issues/6333
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
I've seen similar problems but they haven't been solved. https://github.com/apache/seatunnel/issues/5442
I started a SeaTunnelServer process via seatunnel-cluster.sh.
I ran the seatunnel streaming task for RocketMQ message forwarding in cluster mode in dolphinscheduler (DS).
In DS, I set this task to be scheduled every minute, and the execution strategy is serial abandonment, so as to realize fast recovery after the seatunnel flow task fails.
RocketMQ was out of service for some time during the run of the scheduled task, while DS continued to pull seatunnel once every minute for a longer time.
After that, RocketMQ resumes normal service, but running any seatunnel task at this time will result in an OOM exception.
### SeaTunnel Version
2.3.3-release
### SeaTunnel Config
```conf
env {
parallelism = 4
job.mode = "STREAMING"
}
source {
Rocketmq {
name.srv.addr = "127.0.0.1:9876"
topics = "seatunnel_source"
}
}
transform {
}
sink {
Rocketmq {
name.srv.addr = "127.0.0.1:9876"
topic = "seatunnel_sink"
}
}
```
### Running Command
```shell
sh bin/seatunnel.sh --config config/v2.batch.config.template -m cluster
```
### Error Exception
```log
Feb 04, 2024 1:51:42 PM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Loading configuration '/opt/apache-seatunnel-2.3.3/config/seatunnel.yaml' from System property 'seatunnel.config'
Feb 04, 2024 1:51:42 PM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Using configuration file at /opt/apache-seatunnel-2.3.3/config/seatunnel.yaml
Feb 04, 2024 1:51:42 PM org.apache.seatunnel.engine.common.config.SeaTunnelConfig
INFO: seatunnel.home is /opt/apache-seatunnel-2.3.3
Feb 04, 2024 1:51:42 PM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Loading configuration '/opt/apache-seatunnel-2.3.3/config/hazelcast.yaml' from System property 'hazelcast.config'
Feb 04, 2024 1:51:42 PM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Using configuration file at /opt/apache-seatunnel-2.3.3/config/hazelcast.yaml
Feb 04, 2024 1:51:43 PM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Loading configuration '/opt/apache-seatunnel-2.3.3/config/hazelcast-client.yaml' from System property 'hazelcast.client.config'
Feb 04, 2024 1:51:43 PM com.hazelcast.internal.config.AbstractConfigLocator
INFO: Using configuration file at /opt/apache-seatunnel-2.3.3/config/hazelcast-client.yaml
2024-02-04 13:51:43,544 INFO com.hazelcast.client.impl.spi.ClientInvocationService - hz.client_1 [seatunnel] [5.1] Running with 2 response threads, dynamic=true
2024-02-04 13:51:43,612 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is STARTING
2024-02-04 13:51:43,617 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is STARTED
2024-02-04 13:51:43,644 INFO com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel] [5.1] Trying to connect to cluster: seatunnel
2024-02-04 13:51:43,648 INFO com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel] [5.1] Trying to connect to [localhost]:5801
2024-02-04 13:51:43,683 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is CLIENT_CONNECTED
2024-02-04 13:51:43,683 INFO com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel] [5.1] Authenticated with server [localhost]:5801:382638e7-e321-4675-acea-247579799b4b, server version: 5.1, local address: /127.0.0.1:49198
2024-02-04 13:51:43,685 INFO com.hazelcast.internal.diagnostics.Diagnostics - hz.client_1 [seatunnel] [5.1] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments.
2024-02-04 13:51:43,705 INFO com.hazelcast.client.impl.spi.ClientClusterService - hz.client_1 [seatunnel] [5.1]
Members [1] {
Member [localhost]:5801 - 382638e7-e321-4675-acea-247579799b4b
}
2024-02-04 13:51:43,730 INFO com.hazelcast.client.impl.statistics.ClientStatisticsService - Client statistics is enabled with period 5 seconds.
2024-02-04 13:51:43,879 INFO org.apache.seatunnel.engine.client.job.JobExecutionEnvironment - add common jar in plugins :[]
2024-02-04 13:51:43,890 INFO org.apache.seatunnel.core.starter.utils.ConfigBuilder - Loading config file from path: config/v2.batch.config.template
2024-02-04 13:51:43,956 INFO org.apache.seatunnel.core.starter.utils.ConfigShadeUtils - Load config shade spi: [base64]
2024-02-04 13:51:43,999 INFO org.apache.seatunnel.core.starter.utils.ConfigBuilder - Parsed config file: {
"env" : {
"execution.parallelism" : 2,
"job.mode" : "BATCH",
"checkpoint.interval" : 10000
},
"source" : [
{
"schema" : {
"fields" : {
"name" : "string",
"age" : "int"
}
},
"row.num" : 16,
"parallelism" : 2,
"result_table_name" : "fake",
"plugin_name" : "FakeSource"
}
],
"sink" : [
{
"plugin_name" : "Console"
}
]
}
2024-02-04 13:51:44,024 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-04 13:51:44,025 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-04 13:51:44,029 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /opt/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-04 13:51:44,035 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: FakeSource at: file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-fake-2.3.3.jar
2024-02-04 13:51:44,036 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: Console at: file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-console-2.3.3.jar
2024-02-04 13:51:44,039 INFO org.apache.seatunnel.engine.core.parse.ConfigParserUtil - Currently, incorrect configuration of source_table_name and result_table_name options don't affect job running. In the future we will ban incorrect configurations.
2024-02-04 13:51:44,039 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-04 13:51:44,039 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-04 13:51:44,039 WARN org.apache.seatunnel.engine.core.parse.ConfigParserUtil - This configuration is not recommended. A source/transform(FakeSource) is configured with 'result_table_name' option value of 'fake', but subsequent transform/sink(Console) is not configured with 'source_table_name' option.
2024-02-04 13:51:44,040 INFO org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all sources.
2024-02-04 13:51:44,041 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-04 13:51:44,094 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSource Plugin from /opt/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-04 13:51:44,099 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: FakeSource at: file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-fake-2.3.3.jar
2024-02-04 13:51:44,101 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load plugin: PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='FakeSource'} from classpath
2024-02-04 13:51:44,121 INFO org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all transforms.
2024-02-04 13:51:44,122 INFO org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all sinks.
2024-02-04 13:51:44,122 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-04 13:51:44,128 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-04 13:51:44,169 INFO org.apache.seatunnel.engine.client.job.ClientJobProxy - Start submit job, job id: 806401517069271041, with plugin jar [file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-fake-2.3.3.jar, file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-console-2.3.3.jar]
2024-02-04 13:51:49,218 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTTING_DOWN
2024-02-04 13:51:49,221 INFO com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel] [5.1] Removed connection to endpoint: [localhost]:5801:382638e7-e321-4675-acea-247579799b4b, connection: ClientConnection{alive=false, connectionId=1, channel=NioChannel{/127.0.0.1:49198->localhost/127.0.0.1:5801}, remoteAddress=[localhost]:5801, lastReadTime=2024-02-04 13:51:49.215, lastWriteTime=2024-02-04 13:51:48.739, closedTime=2024-02-04 13:51:49.219, connected server version=5.1}
2024-02-04 13:51:49,222 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is CLIENT_DISCONNECTED
2024-02-04 13:51:49,227 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTDOWN
2024-02-04 13:51:49,228 INFO org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed SeaTunnel client......
2024-02-04 13:51:49,228 ERROR org.apache.seatunnel.core.starter.SeaTunnel -
===============================================================================
2024-02-04 13:51:49,228 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Fatal Error,
2024-02-04 13:51:49,228 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Please submit bug report in https://github.com/apache/seatunnel/issues
2024-02-04 13:51:49,228 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Reason:SeaTunnel job executed failed
2024-02-04 13:51:49,230 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Exception StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191)
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.util.concurrent.CompletionException: java.lang.OutOfMemoryError: Compressed class space
at com.hazelcast.spi.impl.AbstractInvocationFuture.wrapInCompletionException(AbstractInvocationFuture.java:1347)
at com.hazelcast.spi.impl.AbstractInvocationFuture.cascadeException(AbstractInvocationFuture.java:1340)
at com.hazelcast.spi.impl.AbstractInvocationFuture.access$200(AbstractInvocationFuture.java:65)
at com.hazelcast.spi.impl.AbstractInvocationFuture$ApplyNode.execute(AbstractInvocationFuture.java:1478)
at com.hazelcast.spi.impl.AbstractInvocationFuture.unblockOtherNode(AbstractInvocationFuture.java:797)
at com.hazelcast.spi.impl.AbstractInvocationFuture.unblockAll(AbstractInvocationFuture.java:759)
at com.hazelcast.spi.impl.AbstractInvocationFuture.complete0(AbstractInvocationFuture.java:1235)
at com.hazelcast.spi.impl.AbstractInvocationFuture.completeExceptionallyInternal(AbstractInvocationFuture.java:1223)
at com.hazelcast.spi.impl.AbstractInvocationFuture.completeExceptionally(AbstractInvocationFuture.java:709)
at com.hazelcast.client.impl.spi.impl.ClientInvocation.completeExceptionally(ClientInvocation.java:294)
at com.hazelcast.client.impl.spi.impl.ClientInvocation.notifyExceptionWithOwnedPermission(ClientInvocation.java:321)
at com.hazelcast.client.impl.spi.impl.ClientInvocation.notifyException(ClientInvocation.java:304)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier.handleResponse(ClientResponseHandlerSupplier.java:164)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier.process(ClientResponseHandlerSupplier.java:141)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier.access$300(ClientResponseHandlerSupplier.java:60)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier$DynamicResponseHandler.accept(ClientResponseHandlerSupplier.java:251)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier$DynamicResponseHandler.accept(ClientResponseHandlerSupplier.java:243)
at com.hazelcast.client.impl.connection.tcp.TcpClientConnection.handleClientMessage(TcpClientConnection.java:245)
at com.hazelcast.client.impl.protocol.util.ClientMessageDecoder.handleMessage(ClientMessageDecoder.java:135)
at com.hazelcast.client.impl.protocol.util.ClientMessageDecoder.onRead(ClientMessageDecoder.java:89)
at com.hazelcast.internal.networking.nio.NioInboundPipeline.process(NioInboundPipeline.java:136)
at com.hazelcast.internal.networking.nio.NioThread.processSelectionKey(NioThread.java:383)
at com.hazelcast.internal.networking.nio.NioThread.processSelectionKeys(NioThread.java:368)
at com.hazelcast.internal.networking.nio.NioThread.selectLoop(NioThread.java:294)
at com.hazelcast.internal.networking.nio.NioThread.executeRun(NioThread.java:249)
at com.hazelcast.internal.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:102)
Caused by: java.lang.OutOfMemoryError: Compressed class space
2024-02-04 13:51:49,230 ERROR org.apache.seatunnel.core.starter.SeaTunnel -
===============================================================================
Exception in thread "main" org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191)
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.util.concurrent.CompletionException: java.lang.OutOfMemoryError: Compressed class space
at com.hazelcast.spi.impl.AbstractInvocationFuture.wrapInCompletionException(AbstractInvocationFuture.java:1347)
at com.hazelcast.spi.impl.AbstractInvocationFuture.cascadeException(AbstractInvocationFuture.java:1340)
at com.hazelcast.spi.impl.AbstractInvocationFuture.access$200(AbstractInvocationFuture.java:65)
at com.hazelcast.spi.impl.AbstractInvocationFuture$ApplyNode.execute(AbstractInvocationFuture.java:1478)
at com.hazelcast.spi.impl.AbstractInvocationFuture.unblockOtherNode(AbstractInvocationFuture.java:797)
at com.hazelcast.spi.impl.AbstractInvocationFuture.unblockAll(AbstractInvocationFuture.java:759)
at com.hazelcast.spi.impl.AbstractInvocationFuture.complete0(AbstractInvocationFuture.java:1235)
at com.hazelcast.spi.impl.AbstractInvocationFuture.completeExceptionallyInternal(AbstractInvocationFuture.java:1223)
at com.hazelcast.spi.impl.AbstractInvocationFuture.completeExceptionally(AbstractInvocationFuture.java:709)
at com.hazelcast.client.impl.spi.impl.ClientInvocation.completeExceptionally(ClientInvocation.java:294)
at com.hazelcast.client.impl.spi.impl.ClientInvocation.notifyExceptionWithOwnedPermission(ClientInvocation.java:321)
at com.hazelcast.client.impl.spi.impl.ClientInvocation.notifyException(ClientInvocation.java:304)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier.handleResponse(ClientResponseHandlerSupplier.java:164)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier.process(ClientResponseHandlerSupplier.java:141)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier.access$300(ClientResponseHandlerSupplier.java:60)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier$DynamicResponseHandler.accept(ClientResponseHandlerSupplier.java:251)
at com.hazelcast.client.impl.spi.impl.ClientResponseHandlerSupplier$DynamicResponseHandler.accept(ClientResponseHandlerSupplier.java:243)
at com.hazelcast.client.impl.connection.tcp.TcpClientConnection.handleClientMessage(TcpClientConnection.java:245)
at com.hazelcast.client.impl.protocol.util.ClientMessageDecoder.handleMessage(ClientMessageDecoder.java:135)
at com.hazelcast.client.impl.protocol.util.ClientMessageDecoder.onRead(ClientMessageDecoder.java:89)
at com.hazelcast.internal.networking.nio.NioInboundPipeline.process(NioInboundPipeline.java:136)
at com.hazelcast.internal.networking.nio.NioThread.processSelectionKey(NioThread.java:383)
at com.hazelcast.internal.networking.nio.NioThread.processSelectionKeys(NioThread.java:368)
at com.hazelcast.internal.networking.nio.NioThread.selectLoop(NioThread.java:294)
at com.hazelcast.internal.networking.nio.NioThread.executeRun(NioThread.java:249)
at com.hazelcast.internal.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:102)
Caused by: java.lang.OutOfMemoryError: Compressed class space
```
### Zeta or Flink or Spark Version
Zeta
### Java or Scala Version
jdk1.8
### Screenshots
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1928858753
> > Use 2.3.4.
> > ok, use 2.3.4.
>
> Each time a seatunnel task is run, the loaded class of SeaTunnelServer is incremented, but it is not released after the task is executed.
>
> ![image](https://private-user-images.githubusercontent.com/26395835/302518110-0be8969c-a861-4d2c-8faf-49bf8b76342d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDcyMDA1MTYsIm5iZiI6MTcwNzIwMDIxNiwicGF0aCI6Ii8yNjM5NTgzNS8zMDI1MTgxMTAtMGJlODk2OWMtYTg2MS00ZDJjLThmYWYtNDliZjhiNzYzNDJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjA2VDA2MTY1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRiNzBkYjdiZmY1ODk1NGFiMWY1YWVjYmQwNGQ0OTBiMzA3ZTZlOGMzNGJhMmQwOWIwYzI3YjkzYWIzYjhmNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.61nQ_GQush4R-6AQi4kNDzMzuP7y25fuyOFo6TAkuoU)
This issue has been fixed, please check #6334 5773
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1926636608
Use 2.3.4.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "cqutwangyu (via GitHub)" <gi...@apache.org>.
cqutwangyu commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1929064538
![image](https://github.com/apache/seatunnel/assets/26395835/e56f7240-70fd-48f5-ae54-2553b02ee726)
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "xueshuai0922 (via GitHub)" <gi...@apache.org>.
xueshuai0922 commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-2046862318
> Use 2.3.5 and try again.
2.3.5版本什么时候出
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "cqutwangyu (via GitHub)" <gi...@apache.org>.
cqutwangyu commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1928876322
ok,thanks
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-2008672397
Use 2.3.5 and try again.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "cqutwangyu (via GitHub)" <gi...@apache.org>.
cqutwangyu commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1928843032
> Use 2.3.4.
ok, use 2.3.4.
Each time a seatunnel task is run, the loaded class of SeaTunnelServer is incremented, but it is not released after the task is executed.
![image](https://github.com/apache/seatunnel/assets/26395835/0be8969c-a861-4d2c-8faf-49bf8b76342d)
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "cqutwangyu (via GitHub)" <gi...@apache.org>.
cqutwangyu commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1925598428
seatunnel task logs during RocketMQ service exceptions :
```
2024-02-01 23:23:05,744 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-01 23:23:05,745 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-01 23:23:05,749 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /opt/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-01 23:23:05,758 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: Rocketmq at: file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-rocketmq-2.3.4-SNAPSHOT.jar
2024-02-01 23:23:05,759 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: Rocketmq at: file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-rocketmq-2.3.4-SNAPSHOT.jar
2024-02-01 23:23:05,764 INFO org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all sources.
2024-02-01 23:23:05,765 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-01 23:23:05,776 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSource Plugin from /opt/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-01 23:23:05,781 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: Rocketmq at: file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-rocketmq-2.3.4-SNAPSHOT.jar
2024-02-01 23:23:05,787 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load plugin: PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Rocketmq'} from classpath
2024-02-01 23:23:05,802 INFO org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all transforms.
2024-02-01 23:23:05,802 INFO org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - start generating all sinks.
2024-02-01 23:23:05,803 INFO org.apache.seatunnel.api.configuration.ReadonlyConfig - Config uses fallback configuration key 'plugin_name' instead of key 'factory'
2024-02-01 23:23:05,806 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /opt/apache-seatunnel-2.3.3/connectors/seatunnel
2024-02-01 23:23:05,807 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Discovery plugin jar: Rocketmq at: file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-rocketmq-2.3.4-SNAPSHOT.jar
2024-02-01 23:23:05,809 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load plugin: PluginIdentifier{engineType='seatunnel', pluginType='sink', pluginName='Rocketmq'} from classpath
2024-02-01 23:23:05,845 INFO org.apache.seatunnel.engine.client.job.ClientJobProxy - Start submit job, job id: 805458141411016705, with plugin jar [file:/opt/apache-seatunnel-2.3.3/connectors/seatunnel/connector-rocketmq-2.3.4-SNAPSHOT.jar]
2024-02-01 23:23:05,932 INFO org.apache.seatunnel.engine.client.job.ClientJobProxy - Submit job finished, job id: 805458141411016705, job name: SeaTunnel
2024-02-01 23:23:05,941 WARN org.apache.seatunnel.engine.client.job.JobMetricsRunner - Failed to get job metrics summary, it maybe first-run
[INFO] 2024-02-01 23:23:52.244 +0800 - ->
2024-02-01 23:23:51,556 INFO org.apache.seatunnel.engine.client.job.ClientJobProxy - Job (805458141411016705) end with state FAILED
2024-02-01 23:23:51,557 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTTING_DOWN
2024-02-01 23:23:51,567 INFO com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel] [5.1] Removed connection to endpoint: [localhost]:5801:382638e7-e321-4675-acea-247579799b4b, connection: ClientConnection{alive=false, connectionId=1, channel=NioChannel{/127.0.0.1:47785->localhost/127.0.0.1:5801}, remoteAddress=[localhost]:5801, lastReadTime=2024-02-01 23:23:51.542, lastWriteTime=2024-02-01 23:23:50.429, closedTime=2024-02-01 23:23:51.562, connected server version=5.1}
2024-02-01 23:23:51,567 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is CLIENT_DISCONNECTED
2024-02-01 23:23:51,570 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTDOWN
2024-02-01 23:23:51,572 INFO org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed SeaTunnel client......
2024-02-01 23:23:51,572 INFO org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed metrics executor service ......
2024-02-01 23:23:51,572 ERROR org.apache.seatunnel.core.starter.SeaTunnel -
===============================================================================
2024-02-01 23:23:51,573 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Fatal Error,
2024-02-01 23:23:51,573 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Please submit bug report in https://github.com/apache/seatunnel/issues
2024-02-01 23:23:51,573 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Reason:SeaTunnel job executed failed
2024-02-01 23:23:51,574 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Exception StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191)
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: org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: org.apache.seatunnel.connectors.seatunnel.rocketmq.exception.RocketMqConnectorException: ErrorCode:[ROCKETMQ-11], ErrorDescription:[Failed to get topic min and max topic]
at org.apache.seatunnel.connectors.seatunnel.rocketmq.common.RocketMqAdminUtil.offsetTopics(RocketMqAdminUtil.java:231)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.source.RocketMqSourceSplitEnumerator.getTopicInfo(RocketMqSourceSplitEnumerator.java:211)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.source.RocketMqSourceSplitEnumerator.fetchPendingPartitionSplit(RocketMqSourceSplitEnumerator.java:197)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.source.RocketMqSourceSplitEnumerator.run(RocketMqSourceSplitEnumerator.java:119)
at org.apache.seatunnel.engine.server.task.SourceSplitEnumeratorTask.stateProcess(SourceSplitEnumeratorTask.java:303)
at org.apache.seatunnel.engine.server.task.SourceSplitEnumeratorTask.call(SourceSplitEnumeratorTask.java:134)
at org.apache.seatunnel.engine.server.TaskExecutionService$BlockingWorker.run(TaskExecutionService.java:613)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to 172.30.3.52:20911 failed
at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:407)
at org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicStatsInfo(MQClientAPIImpl.java:1190)
at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineTopicStats(DefaultMQAdminExtImpl.java:266)
at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineTopicStats(DefaultMQAdminExt.java:226)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.common.RocketMqAdminUtil.offsetTopics(RocketMqAdminUtil.java:223)
... 11 more
at org.apache.seatunnel.engine.client.job.ClientJobProxy.waitForJobComplete(ClientJobProxy.java:122)
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:184)
... 2 more
2024-02-01 23:23:51,575 ERROR org.apache.seatunnel.core.starter.SeaTunnel -
===============================================================================
Exception in thread "main" org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191)
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: org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: org.apache.seatunnel.connectors.seatunnel.rocketmq.exception.RocketMqConnectorException: ErrorCode:[ROCKETMQ-11], ErrorDescription:[Failed to get topic min and max topic]
at org.apache.seatunnel.connectors.seatunnel.rocketmq.common.RocketMqAdminUtil.offsetTopics(RocketMqAdminUtil.java:231)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.source.RocketMqSourceSplitEnumerator.getTopicInfo(RocketMqSourceSplitEnumerator.java:211)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.source.RocketMqSourceSplitEnumerator.fetchPendingPartitionSplit(RocketMqSourceSplitEnumerator.java:197)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.source.RocketMqSourceSplitEnumerator.run(RocketMqSourceSplitEnumerator.java:119)
at org.apache.seatunnel.engine.server.task.SourceSplitEnumeratorTask.stateProcess(SourceSplitEnumeratorTask.java:303)
at org.apache.seatunnel.engine.server.task.SourceSplitEnumeratorTask.call(SourceSplitEnumeratorTask.java:134)
at org.apache.seatunnel.engine.server.TaskExecutionService$BlockingWorker.run(TaskExecutionService.java:613)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to 172.30.3.52:20911 failed
at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:407)
at org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicStatsInfo(MQClientAPIImpl.java:1190)
at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineTopicStats(DefaultMQAdminExtImpl.java:266)
at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineTopicStats(DefaultMQAdminExt.java:226)
at org.apache.seatunnel.connectors.seatunnel.rocketmq.common.RocketMqAdminUtil.offsetTopics(RocketMqAdminUtil.java:223)
... 11 more
at org.apache.seatunnel.engine.client.job.ClientJobProxy.waitForJobComplete(ClientJobProxy.java:122)
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:184)
... 2 more
2024-02-01 23:23:51,577 INFO org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - run shutdown hook because get close signal
[INFO] 2024-02-01 23:23:52.245 +0800 - process has exited. execute path:/tmp/dolphinscheduler/exec/process/default/12205486712512/12282914882752_4/81783/34841, processId:91968 ,exitStatusCode:1 ,processWaitForStatus:true ,processExitValue:1
[INFO] 2024-02-01 23:23:52.246 +0800 - ***********************************************************************************************
[INFO] 2024-02-01 23:23:52.246 +0800 - ********************************* Finalize task instance ************************************
[INFO] 2024-02-01 23:23:52.246 +0800 - ***********************************************************************************************
[INFO] 2024-02-01 23:23:52.246 +0800 - Upload output files: [] successfully
[INFO] 2024-02-01 23:23:52.246 +0800 - Send task execute status: FAILURE to master : 10.11.50.37:1234
[INFO] 2024-02-01 23:23:52.246 +0800 - Remove the current task execute context from worker cache
[INFO] 2024-02-01 23:23:52.246 +0800 - The current execute mode isn't develop mode, will clear the task execute file: /tmp/dolphinscheduler/exec/process/default/12205486712512/12282914882752_4/81783/34841
[INFO] 2024-02-01 23:23:52.247 +0800 - Success clear the task execute file: /tmp/dolphinscheduler/exec/process/default/12205486712512/12282914882752_4/81783/34841
[INFO] 2024-02-01 23:23:52.247 +0800 - FINALIZE_SESSION
```
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "W-dragan (via GitHub)" <gi...@apache.org>.
W-dragan commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1974756736
@wu-a-ge yes
![image](https://github.com/apache/seatunnel/assets/69575498/aece58c6-25e3-4963-8e3a-3cf88f8308b6)
我也发现了,即使使用了#6355的最新代码,在linux上运行还是会产生SeaTunnelChildFirstClassLoader
但是本地windows就不会产生
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "cqutwangyu (via GitHub)" <gi...@apache.org>.
cqutwangyu commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1929007805
![image](https://github.com/apache/seatunnel/assets/26395835/a64b129c-8980-4303-a9ae-b1946ea77d32)
I grabbed the latest code from the 2.3.4-release branch and rebuilt it. But problems remain
@liugddx
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "cqutwangyu (via GitHub)" <gi...@apache.org>.
cqutwangyu commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1929023788
But I noticed that in the IDE startup SeaTunnelEngineServerExample, and through the CLUSTER mode SeaTunnelEngineExample repeat task will not have this problem.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] OutOfMemoryError: Compressed class space [seatunnel]
Posted by "wu-a-ge (via GitHub)" <gi...@apache.org>.
wu-a-ge commented on issue #6333:
URL: https://github.com/apache/seatunnel/issues/6333#issuecomment-1964292379
> ![image](https://private-user-images.githubusercontent.com/26395835/302563370-e56f7240-70fd-48f5-ae54-2553b02ee726.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDg5NTgxNzgsIm5iZiI6MTcwODk1Nzg3OCwicGF0aCI6Ii8yNjM5NTgzNS8zMDI1NjMzNzAtZTU2ZjcyNDAtNzBmZC00OGY1LWFlNTQtMjU1M2IwMmVlNzI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjI2VDE0MzExOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1YWM2MGMzZTVkMTAwOTczMzY4ODAzZmRkY2U1MDI3YTM0MzVjNzdiMWE4OWY4NTA0YWZhNDk0NjEzYjQ4OTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FsePQPsORKkxFnicWT-QLKpyA0XelGZ6QngFv1_70Tk)
告诉你一个更难理解的现象,我在windows上运行,绝对不会出现内存泄露的问题,但是在linux下跑就会出现!!!
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org