Re: Re: Re: Re: Re: Re: Re: How big the spark stream window could be ?

2016-05-11 Thread Mich Talebzadeh
gt;>>> On Mon, May 9, 2016 at 4:43 PM, 李明伟 wrote: >>>>>> >>>>>> Thanks. >>>>>> What if I use batch calculation instead of stream computing? Do I >>>>>> still need that much memory? For example, if the 24 hour data set

Re:Re: Re: Re: Re: Re: Re: How big the spark stream window could be ?

2016-05-10 Thread 李明伟
g the docs, the most obvious way to solve this seems to set up a spark stream with 5 minutes interval and two window which are 1 hour and 1 day. But I am worrying that if the window is too big for one day and one hour. I do not have much experience on spark stream, so what is the window length i

Re: Re: Re: Re: Re: Re: How big the spark stream window could be ?

2016-05-10 Thread Mich Talebzadeh
mich.talebza...@gmail.com> wrote: >>>>> >>>>> ok terms for Spark Streaming >>>>> >>>>> "Batch interval" is the basic interval at which the system with >>>>> receive the data in batches. >>>>> Thi

Re:Re: Re: Re: Re: Re: How big the spark stream window could be ?

2016-05-10 Thread 李明伟
seems to set up a spark stream with 5 minutes interval and two window which are 1 hour and 1 day. But I am worrying that if the window is too big for one day and one hour. I do not have much experience on spark stream, so what is the window length in your environment? Any official docs talki

Re: Re: Re: Re: Re: How big the spark stream window could be ?

2016-05-10 Thread Mich Talebzadeh
m the source. >>>> >>>> Then you have these two params >>>> >>>> // window length - The duration of the window below that must be >>>> multiple of batch interval n in = > StreamingContext(s

Re:Re: Re: Re: Re: How big the spark stream window could be ?

2016-05-10 Thread 李明伟
ream with 5 minutes interval and two window which are 1 hour and 1 day. But I am worrying that if the window is too big for one day and one hour. I do not have much experience on spark stream, so what is the window length in your environment? Any official docs talking about this? --

Re: Re: Re: Re: How big the spark stream window could be ?

2016-05-10 Thread Mich Talebzadeh
e >>> multiples of the batch interval, as received data is divided into batches >>> of duration "batch interval". >>> >>> If you want to collect 1 hour data then windowLength = 12 * 5 * 60 >>> seconds >>> If you want to collect 24 hour

Re:Re: Re: Re: How big the spark stream window could be ?

2016-05-09 Thread 李明伟
ve much experience on spark stream, so what is the window length in your environment? Any official docs talking about this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-w

Re: Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Mich Talebzadeh
Mich Talebzadeh >> >> LinkedIn * >> https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw >> <https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>* >> >> http://talebzadehmich.wordpress.com >> >&

Re:Re: Re: How big the spark stream window could be ?

2016-05-09 Thread 李明伟
hat is the window length in your environment? Any official docs talking about this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be-tp26899.html Sent from the Apache Spark User List mailing list archive at Nabble.

Re: How big the spark stream window could be ?

2016-05-09 Thread Mich Talebzadeh
y big enough to fit the stream > data for 24 hours. Usually memory is the limiting factor for the window > size. > > Dhiraj Peechara > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be

Re: How big the spark stream window could be ?

2016-05-09 Thread firemonk9
-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be-tp26899p26903.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org

Re: How big the spark stream window could be ?

2016-05-09 Thread Jörn Franke
ngth in > your environment? > > Any official docs talking about this? > > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-wi

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Mich Talebzadeh
be calculated and considering use spark > stream to do it. > > We need to generate three kinds of reports. The reports are based on > > 1. The last 5 minutes data > 2. The last 1 hour data > 3. The last 24 hour data > > The frequency of reports is 5 minu

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Ashok Kumar
ing about this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be-tp26899.html Sent from the Apache Spark User List mailing list archive at Nabble.com. -

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Saisai Shao
ency of reports is 5 minutes. > > After reading the docs, the most obvious way to solve this seems to set up > a > spark stream with 5 minutes interval and two window which are 1 hour and 1 > day. > > > But I am worrying that if the window is too big for one day and one hour.

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Ashok Kumar
h experience on spark stream, so what is the window length in your environment? Any official docs talking about this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be-tp26899.html Sent from the

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Saisai Shao
o set up > a > spark stream with 5 minutes interval and two window which are 1 hour and 1 > day. > > > But I am worrying that if the window is too big for one day and one hour. I > do not have much experience on spark stream, so what is the window length > in > your environ

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Ashok Kumar
bout this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be-tp26899.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To u

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Saisai Shao
e reports are based on >>> >>> 1. The last 5 minutes data >>> 2. The last 1 hour data >>> 3. The last 24 hour data >>> >>> The frequency of reports is 5 minutes. >>> >>> After reading the docs, the most obvious way to solve

Re:Re: How big the spark stream window could be ?

2016-05-09 Thread 李明伟
window length in your environment? Any official docs talking about this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be-tp26899.html Sent from the Apache Sp

Re: How big the spark stream window could be ?

2016-05-09 Thread Saisai Shao
d and considering use spark >>>> stream to do it. >>>> >>>> We need to generate three kinds of reports. The reports are based on >>>> >>>> 1. The last 5 minutes data >>>> 2. The la

Re: Re: How big the spark stream window could be ?

2016-05-09 Thread Mich Talebzadeh
; The frequency of reports is 5 minutes. >> >> After reading the docs, the most obvious way to solve this seems to set >> up a >> spark stream with 5 minutes interval and two window which are 1 hour and 1 >> day. >> >> >> But I am worrying that if th

Re: How big the spark stream window could be ?

2016-05-09 Thread Mich Talebzadeh
> The frequency of reports is 5 minutes. >>> >>> After reading the docs, the most obvious way to solve this seems to set >>> up a >>> spark stream with 5 minutes interval and two window which are 1 hour and >>> 1 >>> day. >>>

Re:Re: How big the spark stream window could be ?

2016-05-09 Thread 李明伟
and 1 day. But I am worrying that if the window is too big for one day and one hour. I do not have much experience on spark stream, so what is the window length in your environment? Any official docs talking about this? -- View this message in context: http://apache-spark-user-list.100

Re: How big the spark stream window could be ?

2016-05-09 Thread Saisai Shao
w which are 1 hour and 1 >> day. >> >> >> But I am worrying that if the window is too big for one day and one hour. >> I >> do not have much experience on spark stream, so what is the window length >> in >> your environment? >> >> Any officia

Re: How big the spark stream window could be ?

2016-05-09 Thread Mich Talebzadeh
ng that if the window is too big for one day and one hour. I > do not have much experience on spark stream, so what is the window length > in > your environment? > > Any official docs talking about this? > > > > > -- > View this message in context: > http://apache-s

How big the spark stream window could be ?

2016-05-08 Thread kramer2...@126.com
environment? Any official docs talking about this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-big-the-spark-stream-window-could-be-tp26899.html Sent from the Apache Spark User List mailing list archive at Nabble.com