You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/02/21 06:30:44 UTC

[GitHub] [incubator-seatunnel] jiefzz commented on issue #1284: [Bug] [seatunnel-core-spark] ClassNotFoundException throw while run with spark3.0.3

jiefzz commented on issue #1284:
URL: https://github.com/apache/incubator-seatunnel/issues/1284#issuecomment-1046518116


   thanks reply, @leo65535 
   
   We update local copy's dependency version like:
   ```
   diff --git a/pom.xml b/pom.xml
   index 54e46b48..e3eb341d 100644
   --- a/pom.xml
   +++ b/pom.xml
   @@ -63,12 +63,12 @@
        <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
            <java.version>1.8</java.version>
   -        <scala.version>2.11.8</scala.version>
   -        <scala.binary.version>2.11</scala.binary.version>
   +        <scala.version>2.12.10</scala.version>
   +        <scala.binary.version>2.12</scala.binary.version>
            <maven.compiler.source>${java.version}</maven.compiler.source>
            <maven.compiler.target>${java.version}</maven.compiler.target>
   -        <spark.version>2.4.0</spark.version>
   -        <spark.binary.version>2.4</spark.binary.version>
   +        <spark.version>3.0.1</spark.version>
   +        <spark.binary.version>3.0</spark.binary.version>
            <neo4j.connector.spark.version>4.1.0</neo4j.connector.spark.version>
            <flink.version>1.13.5</flink.version>
            <hudi.version>0.10.0</hudi.version>
   @@ -98,11 +98,11 @@
            <flink-shaded-hadoop-2.version>2.7.5-7.0</flink-shaded-hadoop-2.version>
            <parquet-avro.version>1.10.0</parquet-avro.version>
            <transport.version>6.3.1</transport.version>
   -        <elasticsearch-spark.version>6.8.3</elasticsearch-spark.version>
   +<!--        <elasticsearch-spark.version>6.8.3</elasticsearch-spark.version>-->
            <clickhouse-jdbc.version>0.2</clickhouse-jdbc.version>
            <hbase-spark.version>1.0.0</hbase-spark.version>
            <kudu-spark.version>1.7.0</kudu-spark.version>
   -        <mongo-spark.version>2.2.0</mongo-spark.version>
   +        <mongo-spark.version>2.4.1</mongo-spark.version>
            <spark-redis.version>2.6.0</spark-redis.version>
            <commons-lang3.version>3.4</commons-lang3.version>
            <maven-assembly-plugin.version>2.4</maven-assembly-plugin.version>
   ```
   
   it actually work on a demo config file patse above (select from hive, no thansforms action, use the console sink to print), it works, but i don't know it is this `java.lang.ClassNotFoundException: org.apache.spark.internal.Logging$class` has any side effect or not.
   
   Can you give me some tips?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org