spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-13986) Make `DeveloperApi`-annotated class/object public
Date Thu, 17 Mar 2016 21:57:33 GMT

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

Dongjoon Hyun updated SPARK-13986:
----------------------------------
    Description: 
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
+case class JobFailed(exception: Exception) extends JobResult
{code}

  was:
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

-private[spark] case class JobFailed(exception: Exception) extends JobResult
+case class JobFailed(exception: Exception) extends JobResult
{code}


> Make `DeveloperApi`-annotated class/object public
> -------------------------------------------------
>
>                 Key: SPARK-13986
>                 URL: https://issues.apache.org/jira/browse/SPARK-13986
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: Dongjoon Hyun
>            Priority: Minor
>
> 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
> +case class JobFailed(exception: Exception) extends JobResult
> {code}



--
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


Mime
View raw message