apache-sparkStateful operations in Spark Streaming