Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch on the spelling mistake!


new NettyServer(
responder,
new InetSocketAddress(host, port),
channelFactory,
channelPipelieFactory,
channelFactory,
channelPipelineFactory,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What changed here? Was there a formatting issue?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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" [email protected] 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.

null)
} else {
new NettyServer(responder, new InetSocketAddress(host, port))
Expand Down