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

[Fix][Rocketmq] Rocketmq sink error when use multi-table synchronization #7771 #7791

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

YalikWang
Copy link
Contributor

Purpose of this pull request

Fix Rocketmq sink error when use multi-table synchronization.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Use existed test cases

Check list

@Hisoka-X
Copy link
Member

Hisoka-X commented Oct 8, 2024

Could you add a e2e test case for rocketmq with multi table? Thanks

@github-actions github-actions bot added the e2e label Oct 8, 2024
@YalikWang YalikWang closed this Oct 8, 2024
@YalikWang YalikWang reopened this Oct 8, 2024
@Hisoka-X
Copy link
Member

Hisoka-X commented Oct 8, 2024

Hi @YalikWang , please do not close/reopen PR, it will lost ci status.
CI : https://github.com/YalikWang/seatunnel/actions/runs/11233083288/job/31226282144

@YalikWang
Copy link
Contributor Author

Hi @YalikWang , please do not close/reopen PR, it will lost ci status. CI : https://github.com/YalikWang/seatunnel/actions/runs/11233083288/job/31226282144

How can I manually trigger E2E tests?

@Hisoka-X
Copy link
Member

Hisoka-X commented Oct 8, 2024

You can tirgger ci again by yourself.
image

@YalikWang
Copy link
Contributor Author

@Hisoka-X E2E test failed with Spark Engine because of time-out. After submitting to Spark Engine, it seems that the job did not run. Could you please help me to analysis the reason of it ? Or should I disable spark engine container?

e2e test console log :
63392 [docker-java-stream-1626631782] INFO 🐳 [tyrantlucifer/spark:3.3.0] - STDOUT: 24/10/12 09:25:23 INFO Utils: Successfully started service 'MasterUI' on port 8080.
63454 [main] INFO org.apache.seatunnel.e2e.common.container.AbstractTestContainer - Execute command in container[tyrantlucifer/spark:3.3.0]
==================== Shell Command start ====================
/tmp/seatunnel/bin/start-seatunnel-spark-3-connector-v2.sh --config /tmp/rocketmq-sink_fake_to_rocketmq_multi_tables.conf --name rocketmq-sink_fake_to_rocketmq_multi_tables.conf --master local --deploy-mode client
==================== Shell Command end ====================
63485 [docker-java-stream-1626631782] INFO 🐳 [tyrantlucifer/spark:3.3.0] - STDOUT: 24/10/12 09:25:23 INFO MasterWebUI: Bound MasterWebUI to 0.0.0.0, and started at http://39bd998c4ce0:8080
63793 [docker-java-stream-1626631782] INFO 🐳 [tyrantlucifer/spark:3.3.0] - STDOUT: 24/10/12 09:25:24 INFO Master: I have been elected leader! New state: ALIVE

spark docker logs:
09:25:19.92
09:25:19.93 Welcome to the Bitnami spark container
09:25:19.93 Subscribe to project updates by watching https://github.com/bitnami/containers
09:25:19.93 Submit issues and feature requests at https://github.com/bitnami/containers/issues
09:25:19.93
09:25:19.94 INFO ==> ** Starting Spark setup **
realpath: /bitnami/spark/conf: No such file or directory
09:25:20.22 INFO ==> Generating Spark configuration file...
find: '/docker-entrypoint-initdb.d/': No such file or directory
09:25:20.23 INFO ==> No custom scripts in /docker-entrypoint-initdb.d
09:25:20.24 INFO ==> ** Spark setup finished! **

09:25:20.26 INFO ==> ** Starting Spark in master mode **
starting org.apache.spark.deploy.master.Master, logging to /opt/bitnami/spark/logs/spark--org.apache.spark.deploy.master.Master-1-39bd998c4ce0.out
Spark Command: /opt/bitnami/java/bin/java -cp /opt/bitnami/spark/conf/:/opt/bitnami/spark/jars/* -Xmx1g org.apache.spark.deploy.master.Master --host 39bd998c4ce0 --port 7077 --webui-port 8080

Using Spark's default log4j profile: org/apache/spark/log4j2-defaults.properties
24/10/12 09:25:22 INFO Master: Started daemon with process name: 66@39bd998c4ce0
24/10/12 09:25:22 INFO SignalUtils: Registering signal handler for TERM
24/10/12 09:25:22 INFO SignalUtils: Registering signal handler for HUP
24/10/12 09:25:22 INFO SignalUtils: Registering signal handler for INT
24/10/12 09:25:22 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
24/10/12 09:25:22 INFO SecurityManager: Changing view acls to: spark
24/10/12 09:25:22 INFO SecurityManager: Changing modify acls to: spark
24/10/12 09:25:22 INFO SecurityManager: Changing view acls groups to:
24/10/12 09:25:22 INFO SecurityManager: Changing modify acls groups to:
24/10/12 09:25:22 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(spark); groups with view permissions: Set(); users with modify permissions: Set(spark); groups with modify permissions: Set()
24/10/12 09:25:23 INFO Utils: Successfully started service 'sparkMaster' on port 7077.
24/10/12 09:25:23 INFO Master: Starting Spark master at spark://39bd998c4ce0:7077
24/10/12 09:25:23 INFO Master: Running Spark version 3.3.0
24/10/12 09:25:23 INFO Utils: Successfully started service 'MasterUI' on port 8080.
24/10/12 09:25:23 INFO MasterWebUI: Bound MasterWebUI to 0.0.0.0, and started at http://39bd998c4ce0:8080
24/10/12 09:25:24 INFO Master: I have been elected leader! New state: ALIVE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants