You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/06/01 18:31:00 UTC
[jira] [Resolved] (SPARK-24451) Spark-Streaming-Kafka-1.6.3-
KafkaUtils.createStream function uses the old Logging class
[ https://issues.apache.org/jira/browse/SPARK-24451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcelo Vanzin resolved SPARK-24451.
------------------------------------
Resolution: Invalid
You're trying to use a library built for Spark 1.6.3 on top of Spark 2. That will not work.
> Spark-Streaming-Kafka-1.6.3- KafkaUtils.createStream function uses the old Logging class
> ----------------------------------------------------------------------------------------
>
> Key: SPARK-24451
> URL: https://issues.apache.org/jira/browse/SPARK-24451
> Project: Spark
> Issue Type: Bug
> Components: Build, Spark Core
> Affects Versions: 2.3.0
> Environment: Spark 2.3.0
> Spark Streaming 2.3.0
> Kafka 1.1.0
>
> Reporter: Ankit Prakash Gupta
> Priority: Major
> Labels: kafka-1.1.0, spark-streaming, spark-streaming-kafka
> Attachments: Screenshot from 2018-06-01 23-58-48.png
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org