GitHub user ted-yu opened a pull request:
https://github.com/apache/spark/pull/10482
[SPARK-12527] Add private val after @transient for kinesis-asl module
In SBT build using Scala 2.11, the following warnings were reported which
resulted in build failure:
```
[error] [warn]
/dev/shm/spark-workspaces/8/extras/kinesis-asl/src/main/scala/org/apache/spark/streaming/kinesis/KinesisInputDStream.scala:33:
no valid targets for annotation on value _ssc - it is discarded unused. You
may specify targets with meta-annotations, e.g. @(transient @param)
[error] [warn] @transient _ssc: StreamingContext,
[error] [warn]
[error] [warn]
/dev/shm/spark-workspaces/8/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,
[error] [warn]
[error] [warn]
/dev/shm/spark-workspaces/8/extras/kinesis-asl/src/main/scala/org/apache/spark/streaming/kinesis/KinesisBackedBlockRDD.scala:76:
no valid targets for annotation on value blockIds - it is discarded unused.
You may specify targets with meta-annotations, e.g. @(transient @param)
[error] [warn] @transient blockIds: Array[BlockId],
[error] [warn]
[error] [warn]
/dev/shm/spark-workspaces/8/extras/kinesis-asl/src/main/scala/org/apache/spark/streaming/kinesis/KinesisBackedBlockRDD.scala:78:
no valid targets for annotation on value isBlockIdValid - it is discarded
unused. You may specify targets with meta-annotations, e.g. @(transient @param)
[error] [warn] @transient isBlockIdValid: Array[Boolean] = Array.empty,
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ted-yu/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10482.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 #10482
----
commit 2e1e58e34ccb42c693822431f53b6d4e292fbf8d
Author: tedyu <[email protected]>
Date: 2015-12-26T06:18:25Z
[SPARK-12527] Add private val after @transient for kinesis-asl module
----
---
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]