-
Notifications
You must be signed in to change notification settings - Fork 28.7k
SPARK-1022 [BUILD] Depend on Zookeeper from Kafka tests #1804
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
Jenkins, test this please. |
QA tests have started for PR 1804. This patch merges cleanly. |
QA results for PR 1804: |
QA tests have started for PR 1804. This patch merges cleanly. |
QA results for PR 1804: |
Continuing the discussion in #1751, an alternative solution is to apply this explicit zookeeper dependency on only the spark-stremaing-kafka module (since immediately explicitly needs it) as opposed to the spark-core module (which may make it more convenient to control zookeeper version across all vendors builds). |
@tdas also 'porting' my comment -- the problem is that right now, without the dependency declared in However, I see no reason that Spark cares about ZK per se. Vendors can control the ZK versions downstream if it maters. So it's probably less confusing to just remove The explicit dependency in Kafka tests can directly specify a version of, say, 3.4.5 for its own purpose. That fully contains the ZK dependency issue and seems entirely correct to me. Updated PR coming... |
…se ZK directly. Don't depend on ZK explicitly from core and remove unused zookeeper.version
QA tests have started for PR 1804 at commit
|
QA tests have finished for PR 1804 at commit
|
Bah, I give up on this. Not clear whether the test failure is a false positive. At this point, the point of the patch is really just "zookeeper.properties is not used, but the build acts like it thinks it is used", and that's minor. Somebody zap that someday... |
Per discussion at #1751 I suggest that the more correct thing to do is to depend on Zookeeper from Kafka tests. The first commit does this.
The second commit reflects the explicit dependency on ZK in core, in order to make
zookeeper.version
do something. Another reasonable change would be to simply removezookeeper.version
to reflect that otherwise it does nothing.