Skip to content
Snippets Groups Projects
Commit 23cf8971 authored by Patrick Wendell's avatar Patrick Wendell
Browse files

[HOTFIX] Fixing style failures in Kinesis source

parent 9ebb44f8
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,8 @@ object KinesisWordCountASL extends Logging { ...@@ -119,7 +119,8 @@ object KinesisWordCountASL extends Logging {
val batchInterval = Milliseconds(2000) val batchInterval = Milliseconds(2000)
// Kinesis checkpoint interval is the interval at which the DynamoDB is updated with information // Kinesis checkpoint interval is the interval at which the DynamoDB is updated with information
//on sequence number of records that have been received. Same as batchInterval for this example. // on sequence number of records that have been received. Same as batchInterval for this
// example.
val kinesisCheckpointInterval = batchInterval val kinesisCheckpointInterval = batchInterval
// Get the region name from the endpoint URL to save Kinesis Client Library metadata in // Get the region name from the endpoint URL to save Kinesis Client Library metadata in
...@@ -173,7 +174,8 @@ object KinesisWordProducerASL { ...@@ -173,7 +174,8 @@ object KinesisWordProducerASL {
if (args.length != 4) { if (args.length != 4) {
System.err.println( System.err.println(
""" """
|Usage: KinesisWordProducerASL <stream-name> <endpoint-url> <records-per-sec> <words-per-record> |Usage: KinesisWordProducerASL <stream-name> <endpoint-url> <records-per-sec>
<words-per-record>
| |
| <stream-name> is the name of the Kinesis stream | <stream-name> is the name of the Kinesis stream
| <endpoint-url> is the endpoint of the Kinesis service | <endpoint-url> is the endpoint of the Kinesis service
......
...@@ -82,8 +82,8 @@ private[kinesis] class KinesisReceiver( ...@@ -82,8 +82,8 @@ private[kinesis] class KinesisReceiver(
*/ */
/** /**
* workerId is used by the KCL should be based on the ip address of the actual Spark Worker where this code runs * workerId is used by the KCL should be based on the ip address of the actual Spark Worker
* (not the driver's IP address.) * where this code runs (not the driver's IP address.)
*/ */
private var workerId: String = null private var workerId: String = null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment