Not able to print the data in Spark Streaming

Hi Guys,

I was try to perform basic printing of data in spark streaming but I am not getting the desired output.I am attaching the screen shots to get the idea.

In the above commands I am trying to set conf and creating streaming context and all and i have started the streaming service also using ssc.start.

I am giving the data from the other terminal window as shown below:

But I am getting the below error instead of printing the data in the streaming termnal:

Do not run Spark Streaming programs locally with master configured as
local or local[1]. This allocates only one CPU for tasks and if a
receiver is running on it, there is no resource left to process the
received data. Use at least local[2] to have more cores.