Skip to content

Commit cd68c0d

Browse files
committed
fixed typos and backward compatibility
1 parent d18e680 commit cd68c0d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/streaming-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ depending on the checkpoint frequency.</li>
518518
<li>Failed or latent KinesisReceivers will be detected and automatically shutdown/load-balanced by the KCL.</li>
519519
<li>If possible, explicitly shutdown the worker if a failure occurs.</li>
520520

521-
Example KinesisWordCount (and JavaKiensisWordCount) notes:
521+
Example KinesisWordCount (and JavaKinesisWordCount) notes:
522522
<li>These examples automatically determine the number of threads to run locally based on the number of shards for the stream.</li>
523523
<li>These examples automatically determine the number of KinesisReceivers/InputDStreams to create based on the number of shards for the stream.</li>
524524
<li>These examples use InitialPositionInStream.LATEST (tip of stream) vs. InitialPositionInStream.TRIM_HORIZON (back 24 hours) to simplify reasoning about the examples.</li>

extras/spark-kinesis-asl/src/main/scala/org/apache/spark/streaming/kinesis/KinesisRecordProcessor.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ import org.apache.spark.streaming.util.Clock
3636
*
3737
* @param Kinesis receiver
3838
* @param workerId for logging purposes
39-
* @param checkpoint utils
40-
* @param Kinesis checkpoint interval (millis)
39+
* @param checkpoint state
4140
*/
4241
private[streaming] class KinesisRecordProcessor(
4342
receiver: KinesisReceiver,

project/SparkBuild.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ object SparkBuild extends PomBuild {
6565
}
6666
if (Properties.envOrNone("SPARK_KINESIS_ASL").isDefined) {
6767
println("NOTE: SPARK_KINESIS_ASL is deprecated, please use -Pspark-kinesis-asl flag.")
68-
profiles ++= Seq("spark-ganglia-lgpl")
68+
profiles ++= Seq("spark-kinesis-asl")
6969
}
7070
if (Properties.envOrNone("SPARK_HIVE").isDefined) {
7171
println("NOTE: SPARK_HIVE is deprecated, please use -Phive flag.")

0 commit comments

Comments
 (0)