Spark Streaming usage issue on bigdata labs

can I use the labs for spark streaming practice??

If yes, when I’m running the following code, I’m getting below error:

Code given:

import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
import org.apache.spark.SparkConf
import org.apache.spark.streaming._

val conf = new SparkConf().setMaster(“yarn-client”).setAppName(“MyFirstStreaming”)
val ssc = new StreamingContext(conf, Seconds(1))
val l = ssc.socketTextStream("", 9999, StorageLevel.MEMORY_AND_DISK_SER_2)
l.flatmap(x => x.split(" ")).map(x => (x,1)).reduceByKey(+).print()

Please let me know what is the issue… Is there any specific parameters i need to provide for the socketTextStream with Scala when using Yarn-client in Labs?!