Re: adding source not serializable exception in streaming implementation

2016-04-19 Thread Till Rohrmann
I assume that the provided FetchStock code is not complete. As the exception indicates, you somehow store a LocalStreamEnvironment in you source function. The StreamExecutionEnvironments are not serializable and cannot be part of the source function’s closure. Cheers, Till ​ On Tue, Apr 19, 2016

adding source not serializable exception in streaming implementation

2016-04-19 Thread subash basnet
Hello all, My requirement is to re-read the csv file from a file path at certain time intervals and process the csv data. The csv file gets updated at regular intervals. Below is my code: StreamExecutionEnvironment see = StreamExecutionEnvironment.getExecutionEnvironment(); *DataStream dataStream