GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/10479

    [SPARK-12525] Fix fatal compiler warnings in Kinesis ASL due to @transient 
annotations

    The Scala 2.11 SBT build currently fails for Spark 1.6.0 and master due to 
warnings about the `@transient` annotation:
    
    ```
    [error] [warn] 
/Users/joshrosen/Documents/spark/extras/kinesis-asl/src/main/scala/org/apache/spark/streaming/kinesis/KinesisBackedBlockRDD.scala:73:
 no valid targets for annotation on value sc - it is discarded unused. You may 
specify targets with meta-annotations, e.g. @(transient @param)
    [error] [warn]     @transient sc: SparkContext,
    ```
    
    This fix implemented here is the same as what we did in #8433: remove the 
`@transient` annotations when they are not necessary and replace use  
`@transient private val` in the remaining cases.
    
    /cc @srowen and @skyluc for review.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark fix-sbt-2.11

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10479.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 #10479
    
----
commit 0b79c39a3cb8db0447a7dab0e92857d0d5c79665
Author: Josh Rosen <[email protected]>
Date:   2015-12-25T23:19:02Z

    Fix compiler warnings due to @transient annotations.

----


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

Reply via email to