spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yuhao yang (JIRA)" <>
Subject [jira] [Commented] (SPARK-14814) ML 2.0 QA: API: Java compatibility, docs
Date Sat, 07 May 2016 02:55:12 GMT


yuhao yang commented on SPARK-14814:

 The last one seems to be an obvious wrong fix for java compatibility. I'll send a PR for

> ML 2.0 QA: API: Java compatibility, docs
> ----------------------------------------
>                 Key: SPARK-14814
>                 URL:
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Documentation, Java API, ML, MLlib
>            Reporter: Joseph K. Bradley
>            Assignee: yuhao yang
> Check Java compatibility for MLlib for this release.
> Checking compatibility means:
> * comparing with the Scala doc
> * verifying that Java docs are not messed up by Scala type incompatibilities.  Some items
to look out for are:
> ** Check for generic "Object" types where Java cannot understand complex Scala types.
> *** *Note*: The Java docs do not always match the bytecode. If you find a problem, please
verify it using {{javap}}.
> ** Check Scala objects (especially with nesting!) carefully.
> ** Check for uses of Scala and Java enumerations, which can show up oddly in the other
language's doc.
> * If needed for complex issues, create small Java unit tests which execute each method.
 (The correctness can be checked in Scala.)
> If you find issues, please comment here, or for larger items, create separate JIRAs and
link here as "requires".
> Note that we should not break APIs from previous releases.  So if you find a problem,
check if it was introduced in this Spark release (in which case we can fix it) or in a previous
one (in which case we can create a java-friendly version of the API).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message