You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by maji2014 <gi...@git.apache.org> on 2014/11/01 01:52:55 UTC
[GitHub] spark pull request: Sink2 and channel2 should be closed in Flume
Github user maji2014 commented on a diff in the pull request:
https://github.com/apache/spark/pull/3037#discussion_r19700506
--- Diff: external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeUtils.scala ---
@@ -184,7 +184,7 @@ object FlumeUtils {
hostname: String,
port: Int
): JavaReceiverInputDStream[SparkFlumeEvent] = {
- createPollingStream(jssc, hostname, port, StorageLevel.MEMORY_AND_DISK_SER_2)
+ createPollingStream(jssc.ssc, hostname, port, StorageLevel.MEMORY_AND_DISK_SER_2)
--- End diff --
Only one ".count.map" method in main method In al examples. I thought that's the additional call.
Please keep original status if that's not the additional call.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org