Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2065#discussion_r16549232
  
    --- Diff: 
external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumePollingInputDStream.scala
 ---
    @@ -18,23 +18,27 @@ package org.apache.spark.streaming.flume
     
     
     import java.net.InetSocketAddress
    -import java.util.concurrent.{LinkedBlockingQueue, TimeUnit, Executors}
    +import java.util.concurrent.{TimeUnit, LinkedBlockingQueue, Executors}
    +
    +import com.google.common.base.Throwables
     
     import scala.collection.JavaConversions._
     import scala.collection.mutable.ArrayBuffer
     import scala.reflect.ClassTag
    +import scala.util.Try
    +import scala.util.control.Breaks
     
     import com.google.common.util.concurrent.ThreadFactoryBuilder
     import org.apache.avro.ipc.NettyTransceiver
     import org.apache.avro.ipc.specific.SpecificRequestor
    -import org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory
    -
     import org.apache.spark.Logging
     import org.apache.spark.storage.StorageLevel
     import org.apache.spark.streaming.StreamingContext
     import org.apache.spark.streaming.dstream.ReceiverInputDStream
     import org.apache.spark.streaming.receiver.Receiver
     import org.apache.spark.streaming.flume.sink._
    +import org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory
    --- End diff --
    
    nit: this was in the right place.


---
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]

Reply via email to