Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-108

Error from Tutorial with Streaming Data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 0.5.0
    • 0.5.0
    • Core
    • None
    • CentOS 6.6

    Description

      Hello.

      I try tutorial with streaming data. But it did not run.
      I run the code is completely the same as in the tutorial with streaming data.
      (https://zeppelin.incubator.apache.org/docs/tutorial/tutorial.html)

      And I recieved this error message :

      <console>:55: error: overloaded method constructor StreamingContext with alternatives:
      (path: String,hadoopConf: org.apache.hadoop.conf.Configuration)org.apache.spark.streaming.StreamingContext <and>
      (conf: org.apache.spark.SparkConf,batchDuration: org.apache.spark.streaming.Duration)org.apache.spark.streaming.StreamingContext <and>
      (sparkContext: org.apache.spark.org.apache.spark.org.apache.spark.org.apache.spark.org.apache.spark.SparkContext,batchDuration: org.apache.spark.streaming.Duration)org.apache.spark.streaming.StreamingContext
      cannot be applied to (org.apache.spark.org.apache.spark.org.apache.spark.org.apache.spark.org.apache.spark.SparkContext, org.apache.spark.streaming.Duration)
      val ssc = new StreamingContext(sc, Seconds(2))
      ^

      Attachments

        Activity

          People

            moon Lee Moon Soo
            1teed Hyungu Roh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: