Change the type of the mainstream from DataStream to SingleOutputStreamOperator
The getSideOutput() function is not part of the base class DataStream rather the extended Class SingleOutputStreamOperator -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/