How to create a DStream from a List of string?
<p>I have a list of string, but i cant find a way to change the list to a DStream of spark streaming.
I tried this:</p>

<pre><code>val tmpList = List("hi", "hello")    
val rdd = sqlContext.sparkContext.parallelize(Seq(tmpList))   
val rowRdd = rdd.map(v =&gt; Row(v: _*))
</code></pre>

<p>But the eclipse says sparkContext is not a member of sqlContext, so, How can i do this?
Appreciate your help, Please.</p>