Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/2065#discussion_r16758724
--- Diff:
external/flume-sink/src/main/scala/org/apache/spark/streaming/flume/sink/SparkAvroCallbackHandler.scala
---
@@ -45,7 +47,8 @@ private[flume] class SparkAvroCallbackHandler(val
threads: Int, val channel: Cha
val transactionExecutorOpt = Option(Executors.newFixedThreadPool(threads,
new ThreadFactoryBuilder().setDaemon(true)
.setNameFormat("Spark Sink Processor Thread - %d").build()))
- private val processorMap = new ConcurrentHashMap[CharSequence,
TransactionProcessor]()
+ private val sequenceNumberToProcessor = new
ConcurrentHashMap[CharSequence,
--- End diff --
Oh oh, does this go beyond 100 chars?? My bad! I thought it would fit. Then
a better line break would be
```
private val sequenceNumberToProcessor =
new ConcurrentHashMap[CharSequence, TransactionProcessor]()
```
---
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]