apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
7.82k stars 1.76k forks source link

scala.util.matching.Regex.<init>(Ljava/lang/String;Lscala/collection/Seq;)V #3248

Closed nashlibby closed 1 year ago

nashlibby commented 1 year ago

Search before asking

What happened

import hive data to clickhouse

SeaTunnel Version

2.3.0-beta

SeaTunnel Config

env {
  spark.app.name = "dmp"
  spark.executor.instances = 5
  spark.executor.cores = 2
  spark.executor.memory = "4g"
  spark.sql.catalogImplementation = "hive"
}

source {
  Hive {
    pre_sql = "select * from dmp_release.t1"
    result_table_name = "t1"
  }
}

transform {
}

sink {
   clickhouse {
        host = "localhost:8123"
        database = "dmp_release"
        table = "t1"
        fields = ["id", "name"]
        username = "default"
        password = ""
   }
}

Running Command

./bin/start-seatunnel-spark.sh --config config/spark.batch.conf -e client -m 'local[*]'

Error Exception

Exception in thread "main" java.lang.NoSuchMethodError: scala.util.matching.Regex.<init>(Ljava/lang/String;Lscala/collection/Seq;)V

Flink or Spark Version

spark version: 3.3.0

Java or Scala Version

jdk version: 1.8

Screenshots

No response

Are you willing to submit PR?

Code of Conduct

CalvinKirs commented 1 year ago

Spark3 is not supported for now, but I don't know if this has anything to do with this, I'm not familiar with scala.

nashlibby commented 1 year ago

only spark2?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] commented 1 year ago

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.