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

    https://github.com/apache/spark/pull/1466#discussion_r15076673
  
    --- Diff: 
external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeInputDStream.scala
 ---
    @@ -153,15 +153,15 @@ class FlumeReceiver(
     
       private def initServer() = {
         if (enableDecompression) {
    -      val channelFactory = new NioServerSocketChannelFactory
    -        (Executors.newCachedThreadPool(), Executors.newCachedThreadPool());
    -      val channelPipelieFactory = new CompressionChannelPipelineFactory()
    +      val channelFactory = new 
NioServerSocketChannelFactory(Executors.newCachedThreadPool(),
    +                                                             
Executors.newCachedThreadPool())
    +      val channelPipelineFactory = new CompressionChannelPipelineFactory()
           
           new NettyServer(
             responder, 
             new InetSocketAddress(host, port),
    -        channelFactory, 
    -        channelPipelieFactory, 
    +        channelFactory,
    +        channelPipelineFactory,
    --- End diff --
    
    There was a typo in the variable name. The other line was just the IDE
    stripping a trailing space I think.
    On Jul 17, 2014 7:52 PM, "Tathagata Das" <notificati...@github.com> wrote:
    
    > In
    > 
external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeInputDStream.scala:
    >
    > >
    > >        new NettyServer(
    > >          responder,
    > >          new InetSocketAddress(host, port),
    > > -        channelFactory,
    > > -        channelPipelieFactory,
    > > +        channelFactory,
    > > +        channelPipelineFactory,
    >
    > What changed here? Was there a formatting issue?
    >
    > —
    > Reply to this email directly or view it on GitHub
    > <https://github.com/apache/spark/pull/1466/files#r15076612>.
    >


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to