Skip to main content
fixed the formatting and grammer, also wrote an answer :)
Source Link

twitter stream Spark Twitter Streaming exception : (org.apache.spark.Logging) classnotfound

iI am newbie ontrying Spark Twitter Streaming example with Scala using Maven

i did the Twitter example but once iI am getting below error when I run it using Maven i have the following error

Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging

Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging

below isBelow are my dependencies:

<dependencies>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-core_2.10</artifactId>
    <version>2.0.0</version>
</dependency>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming_2.10</artifactId>
    <version>2.0.0</version>
</dependency> 
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming-twitter_2.11</artifactId>
    <version>1.6.2</version> 
</dependency> 

i knew todayI know that the Logging isLogging has been moved to org.apache.spark.internal.Logging i dontorg.apache.spark.internal.Logging but I don't know if it is the reason , iI already tried to change the version of dependencies to the latest one but with no luck

please help me as i spend all the day to fix it.

twitter stream exception : (org.apache.spark.Logging) classnotfound

i am newbie on Spark with Scala using Maven

i did the Twitter example but once i run it using Maven i have the following error

Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging

below is my dependencies

<dependencies>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-core_2.10</artifactId>
    <version>2.0.0</version>
</dependency>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming_2.10</artifactId>
    <version>2.0.0</version>
</dependency> 
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming-twitter_2.11</artifactId>
    <version>1.6.2</version> 
</dependency> 

i knew today that the Logging is moved to org.apache.spark.internal.Logging i dont know if it is the reason , i already tried to change the version of dependencies to the latest one but with no luck

please help me as i spend all the day to fix it

Spark Twitter Streaming exception : (org.apache.spark.Logging) classnotfound

I am trying Spark Twitter Streaming example with Scala using Maven but I am getting below error when I run it:

Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging

Below are my dependencies:

<dependencies>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-core_2.10</artifactId>
    <version>2.0.0</version>
</dependency>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming_2.10</artifactId>
    <version>2.0.0</version>
</dependency> 
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming-twitter_2.11</artifactId>
    <version>1.6.2</version> 
</dependency> 

I know that the Logging has been moved to org.apache.spark.internal.Logging but I don't know if it is the reason , I already tried to change the version of dependencies to the latest one but with no luck.

Source Link

twitter stream exception : (org.apache.spark.Logging) classnotfound

i am newbie on Spark with Scala using Maven

i did the Twitter example but once i run it using Maven i have the following error

Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging

below is my dependencies

<dependencies>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-core_2.10</artifactId>
    <version>2.0.0</version>
</dependency>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming_2.10</artifactId>
    <version>2.0.0</version>
</dependency> 
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming-twitter_2.11</artifactId>
    <version>1.6.2</version> 
</dependency> 

i knew today that the Logging is moved to org.apache.spark.internal.Logging i dont know if it is the reason , i already tried to change the version of dependencies to the latest one but with no luck

please help me as i spend all the day to fix it