diff options
author | Josh Rosen <joshrosen@databricks.com> | 2015-12-28 14:51:22 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-12-28 14:51:22 -0800 |
commit | fb572c6e4b0645c8084aa013d0c93bb21a79977b (patch) | |
tree | 76289589a51822abf090a0aebb8552f6e973878b /core/src/main/scala | |
parent | a6d385322e7dfaff600465fa5302010a5f122c6b (diff) | |
download | spark-fb572c6e4b0645c8084aa013d0c93bb21a79977b.tar.gz spark-fb572c6e4b0645c8084aa013d0c93bb21a79977b.tar.bz2 spark-fb572c6e4b0645c8084aa013d0c93bb21a79977b.zip |
[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.
Author: Josh Rosen <joshrosen@databricks.com>
Closes #10479 from JoshRosen/fix-sbt-2.11.
Diffstat (limited to 'core/src/main/scala')
0 files changed, 0 insertions, 0 deletions