GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/11797
Make `@DeveloperApi`-annotated things public.
## What changes were proposed in this pull request?
Spark uses `@DeveloperApi` annotation, but sometimes it seems to conflict
with visibility. This PR tries to fix those conflict by making them public
aggressively. The following is the example.
**JobResult.scala**
```scala
@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
```
## How was this patch tested?
Pass the existing Jenkins test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-13986
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11797.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11797
----
commit 6f3ea7ab7a40898b809b89d2f17e947f350f3a7b
Author: Dongjoon Hyun <[email protected]>
Date: 2016-03-17T21:58:33Z
Make `@DeveloperApi`-annotated classes/objects public.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]