spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinay453 <vinay...@gmail.com>
Subject Window Operation on Dstream Fails
Date Mon, 30 May 2016 17:42:26 GMT
Hello, 

I am using 1.6.0 version of Spark and trying to run window operation on
DStreams. 

Window_TwoMin = 4*60*1000
Slide_OneMin = 2*60*1000

census = ssc.textFileStream("./census_stream/").filter(lambda a:
a.startswith('-') == False).map(lambda b: b.split("\t")) .map(lambda c:
(c[0],c[2],c[3],epic_dtm_to_str(c[4])))

census_window = census.window(Window_TwoMin,Slide_OneMin)

However i get error messages:

INFO dstream.WindowedDStream: Time 1464627900000 ms is invalid as zeroTime
is 1464627840000 ms and slideDuration is 120000000 ms and difference is
60000 ms

I have seen other people getting same error messages.  Has it been fixed in
1.6.1?

Thanks, 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Window-Operation-on-Dstream-Fails-tp27049.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message