Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24451

Spark-Streaming-Kafka-1.6.3- KafkaUtils.createStream function uses the old Logging class

    XMLWordPrintableJSON

Details

    • Patch, Important

    Description

      While trying using org.apache.spark.streaming.kafka.KafkaUtils.createStream function to create a stream for consumer, I came across an error "java.lang.NoClassDefFoundError: org/apache/spark/Logging". I checked the API documents and found that the Logging Interface was shifted to "org.apache.spark.internal" package from "org.apache.spark" package.

       

      Kindly update the same in the class definitions.

      Attachments

        1. Screenshot from 2018-06-01 23-58-48.png
          396 kB
          Ankit Prakash Gupta

        Activity

          People

            Unassigned Unassigned
            info.ankitp Ankit Prakash Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: