You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/03/21 15:58:25 UTC

[jira] [Resolved] (SPARK-13986) Remove `DeveloperApi`-annotation for non-publics

     [ https://issues.apache.org/jira/browse/SPARK-13986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-13986.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 11797
[https://github.com/apache/spark/pull/11797]

> Remove `DeveloperApi`-annotation for non-publics
> ------------------------------------------------
>
>                 Key: SPARK-13986
>                 URL: https://issues.apache.org/jira/browse/SPARK-13986
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib, Spark Core
>            Reporter: Dongjoon Hyun
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Spark uses `@DeveloperApi` annotation, but sometimes it seems to conflict with its visibility. This issue proposes to fix those conflict. The following is the example.
> {code:title=JobResult.scala|borderStyle=solid}
> @DeveloperApi
> sealed trait JobResult
> @DeveloperApi
> case object JobSucceeded extends JobResult
> -@DeveloperApi
> private[spark] case class JobFailed(exception: Exception) extends JobResult
> {code}
> According to the review comments, the annotation should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org