I developed a streaming application, the application have a map function such as bellow:
probeFileLines.map(x => { println(x._2.toString().take(1)); x._2.toString()})
I need to print x._.2 on my console in the driver program...so I used take method but it doesn't show anything on the console..I am running my application on yarn -client mode..there are some threads addressing how to do this for a RDD but my problem is something different..