-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-16359][STREAMING][KAFKA] unidoc skip kafka 0.10 #14041
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
|
It doesn't work to only keep the 0.10 classes? I was hoping they'd be a superset of 0.8 for these purposes. Can we skip generating javadoc for one of them rather than modify the classpath, if necessary? |
|
Test build #61708 has finished for PR 14041 at commit
|
|
Keeping the 0.10 classes might work if we want to skip publishing 0.8, but Either way there's still the question of where / how to publish the api doc
|
|
I suppose publishing one version's docs is better than none. Is it possible to publish 0.10 only? |
|
I just noticed that our nightly docs build has been failing with an error related to kafka (Example [1]). Will this PR fix this or should we open a new JIRA for this ? |
|
Same error, yes. |
|
Does anyone know why does unidoc fail? Is it because unidoc is combining both kafka 0.8 and 0.10 in the compile path and therefore causing problems? |
|
In any case, we have to release rc2 soon and that cannot be done with a broken unidoc. And between 0.8 and 0.10, 0.8 is higher priority for having docs because it is stable API. So LGTM for this PR, will merge to master and 2.0 as soon as tests pass. |
|
Test build #3161 has finished for PR 14041 at commit
|
|
That build error looks hive related... I can try merging latest master @tdas yes, the reason unidoc is failing is because it's throwing all dependencies from all subprojects into one classpath when running scaladoc/javadoc |
|
Test build #61775 has finished for PR 14041 at commit
|
|
From this + looking at jenkins, it seems like master is broken looks like maybe #13818 |
|
yeah. @zsxwing is looking into it. |
|
Test build #3162 has finished for PR 14041 at commit
|
|
Since build passed, merging this to master and 2.0 |
## What changes were proposed in this pull request? during sbt unidoc task, skip the streamingKafka010 subproject and filter kafka 0.10 classes from the classpath, so that at least existing kafka 0.8 doc can be included in unidoc without error ## How was this patch tested? sbt spark/scalaunidoc:doc | grep -i error Author: cody koeninger <[email protected]> Closes #14041 from koeninger/SPARK-16359. (cherry picked from commit 1f0d021) Signed-off-by: Tathagata Das <[email protected]>
What changes were proposed in this pull request?
during sbt unidoc task, skip the streamingKafka010 subproject and filter kafka 0.10 classes from the classpath, so that at least existing kafka 0.8 doc can be included in unidoc without error
How was this patch tested?
sbt spark/scalaunidoc:doc | grep -i error