Re: Re: About FlumeUtils.createStream

2015-02-23 Thread bit1...@163.com
The behvior is exactly what I expected. Thanks Akhil and Tathagata! bit1...@163.com From: Akhil Das Date: 2015-02-24 13:32 To: bit1129 CC: Tathagata Das; user Subject: Re: Re: About FlumeUtils.createStream That depends on how many machines you have in your cluster. Say you have 6 workers and

Re: Re: About FlumeUtils.createStream

2015-02-23 Thread Akhil Das
- > bit1...@163.com > > > *From:* Akhil Das > *Date:* 2015-02-24 12:58 > *To:* Tathagata Das > *CC:* user ; bit1129 > *Subject:* Re: About FlumeUtils.createStream > > I see, thanks for the clarification TD. > On 24 Feb 2015 09:56, "Tathagata Das" wrot

Re: Re: About FlumeUtils.createStream

2015-02-23 Thread Tathagata Das
* Akhil Das > *Date:* 2015-02-24 12:58 > *To:* Tathagata Das > *CC:* user ; bit1129 > *Subject:* Re: About FlumeUtils.createStream > > I see, thanks for the clarification TD. > On 24 Feb 2015 09:56, "Tathagata Das" wrote: > >> Akhil, that is incorrect. >> >

Re: Re: About FlumeUtils.createStream

2015-02-23 Thread bit1...@163.com
ill stay on one cluster node, or will they distributed among the cluster nodes? bit1...@163.com From: Akhil Das Date: 2015-02-24 12:58 To: Tathagata Das CC: user; bit1129 Subject: Re: About FlumeUtils.createStream I see, thanks for the clarification TD. On 24 Feb 2015 09:56, "Tatha

Re: Re: About FlumeUtils.createStream

2015-02-23 Thread bit1...@163.com
Thanks both of you guys on this! bit1...@163.com From: Akhil Das Date: 2015-02-24 12:58 To: Tathagata Das CC: user; bit1129 Subject: Re: About FlumeUtils.createStream I see, thanks for the clarification TD. On 24 Feb 2015 09:56, "Tathagata Das" wrote: Akhil, that is incorrect.

Re: About FlumeUtils.createStream

2015-02-23 Thread Akhil Das
I see, thanks for the clarification TD. On 24 Feb 2015 09:56, "Tathagata Das" wrote: > Akhil, that is incorrect. > > Spark will list on the given port for Flume to push data into it. > When in local mode, it will listen on localhost: > When in some kind of cluster, instead of localhost you wi

Re: About FlumeUtils.createStream

2015-02-23 Thread Tathagata Das
Akhil, that is incorrect. Spark will list on the given port for Flume to push data into it. When in local mode, it will listen on localhost: When in some kind of cluster, instead of localhost you will have to give the hostname of the cluster node where you want Flume to forward the data. Spark

Re: About FlumeUtils.createStream

2015-02-21 Thread Akhil Das
Spark won't listen on mate, It basically means you have a flume source running at port of your localhost. And when you submit your application in standalone mode, workers will consume date from that port. Thanks Best Regards On Sat, Feb 21, 2015 at 9:22 AM, bit1...@163.com wrote: > >

About FlumeUtils.createStream

2015-02-20 Thread bit1...@163.com
Hi, In the spark streaming application, I write the code, FlumeUtils.createStream(ssc,"localhost",),which means spark will listen on the port, and wait for Flume Sink to write to it. My question is: when I submit the application to the Spark Standalone cluster, will be opened onl