title: twitterStream not found
body: <p>I'm trying to compile my first scala program and I'm using twitterStream to get tweets, here is a snippet of my code:</p>
  
  <pre><code>import org.apache.spark._
  import org.apache.spark.SparkContext._
  import org.apache.spark.streaming._
  import org.apache.spark.streaming.twitter._
  import org.apache.spark.streaming.StreamingContext._
  import TutorialHelper._
  
  object Tutorial {
    def main(args: Array[String]) {
  
      // Location of the Spark directory 
      val sparkHome = "/home/shaza90/spark-1.1.0"
  
      // URL of the Spark cluster
      val sparkUrl = TutorialHelper.getSparkUrl()
  
      // Location of the required JAR files 
      val jarFile = "target/scala-2.10/tutorial_2.10-0.1-SNAPSHOT.jar"
  
      // HDFS directory for checkpointing
      val checkpointDir = TutorialHelper.getHdfsUrl() + "/checkpoint/" 
      // Configure Twitter credentials using twitter.txt
      TutorialHelper.configureTwitterCredentials()
   val ssc = new StreamingContext(sparkUrl, "Tutorial", Seconds(1), sparkHome, Seq(jarFile))
  
          val tweets = ssc.twitterStream()
  val statuses = tweets.map(status =&gt; status.getText())
      statuses.print()
      ssc.checkpoint(checkpointDir)
      ssc.start()
        }
      }
  </code></pre>
  
  <p>When compiling I'm getting this error message:</p>
  
  <pre><code>value twitterStream is not a member of org.apache.spark.streaming.StreamingContext
  </code></pre>
  
  <p>Do you know if I'm missing any library or dependency?</p>