[
https://issues.apache.org/jira/browse/SPARK-12527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071818#comment-15071818
]
Ted Yu commented on SPARK-12527:
--------------------------------
https://github.com/apache/spark/pull/10482
> Add private val after @transient for kinesis-asl module
> -------------------------------------------------------
>
> Key: SPARK-12527
> URL: https://issues.apache.org/jira/browse/SPARK-12527
> Project: Spark
> Issue Type: Bug
> Reporter: Ted Yu
>
> In SBT build using Scala 2.11, the following warnings were reported which
> resulted in build failure:
> {code}
> [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,
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]