-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-46305][BUILD][SS] Remove Zookeeper 3.5.7 test dependency from the streaming-kafka-0-10 and sql-kafka-0-10 modules
#44230
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
Conversation
streaming-kafka-0-10 and sql-kafka-0-10 test with the same zookeeper version as the projectstreaming-kafka-0-10 and sql-kafka-0-10 test with the same zookeeper version as the project
|
Test first |
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-minikdc</artifactId> | ||
| </dependency> | ||
| <!-- Kafka embedded server uses Zookeeper 3.5.7 API --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this configuration was added in #28235, Spark defaulted to using Zookeeper 3.4.14.
Line 125 in 7f47570
| <zookeeper.version>3.4.14</zookeeper.version> |
Currently, Spark has upgraded the Zookeeper version to 3.9.1. Let's see if streaming-kafka-0-10 and sql-kafka-0-10 can also successfully test with 3.9.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, Spark uses Kafka 3.4.1, and its embedded server uses Zookeeper 3.6.4. If we wish to continue using a special version of Zookeeper in these two modules, please let me know.
streaming-kafka-0-10 and sql-kafka-0-10 test with the same zookeeper version as the projectstreaming-kafka-0-10 and sql-kafka-0-10 test with the same Zookeeper version as the project
streaming-kafka-0-10 and sql-kafka-0-10 test with the same Zookeeper version as the projectstreaming-kafka-0-10 and sql-kafka-0-10 modules
streaming-kafka-0-10 and sql-kafka-0-10 modulesstreaming-kafka-0-10 and sql-kafka-0-10 modules
streaming-kafka-0-10 and sql-kafka-0-10 modules3.5.7 test dependency from the streaming-kafka-0-10 and sql-kafka-0-10 modules
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Nice catch!
…m the `streaming-kafka-0-10` and `sql-kafka-0-10` modules ### What changes were proposed in this pull request? SPARK-31464 | apache#28235 specifies that the Zookeeper version used for testing in the `streaming-kafka-0-10` and `sql-kafka-0-10` modules is 3.5.7, while at that time, the default Zookeeper version used by Spark was 3.4.14. In SPARK-45956, the default Zookeeper version used by Spark was upgraded to 3.9.1, which is higher than both 3.5.7 and 3.6.4, the latter being used by the Kafka 3.4.1 embedded server. This PR try to make the `streaming-kafka-0-10` and `sql-kafka-0-10` modules also use the project's default Zookeeper version(3.9.1) for testing, rather than relying on a special version. ### Why are the changes needed? Make the `streaming-kafka-0-10` and `sql-kafka-0-10` modules use the default Zookeeper version of Spark for testing. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#44230 from LuciferYang/kafka-zk. Lead-authored-by: yangjie01 <[email protected]> Co-authored-by: YangJie <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
SPARK-31464 | #28235 specifies that the Zookeeper version used for testing in the
streaming-kafka-0-10andsql-kafka-0-10modules is 3.5.7, while at that time, the default Zookeeper version used by Spark was 3.4.14.In SPARK-45956, the default Zookeeper version used by Spark was upgraded to 3.9.1, which is higher than both 3.5.7 and 3.6.4, the latter being used by the Kafka 3.4.1 embedded server. This PR try to make the
streaming-kafka-0-10andsql-kafka-0-10modules also use the project's default Zookeeper version(3.9.1) for testing, rather than relying on a special version.Why are the changes needed?
Make the
streaming-kafka-0-10andsql-kafka-0-10modules use the default Zookeeper version of Spark for testing.Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions
Was this patch authored or co-authored using generative AI tooling?
No