apache / seatunnel

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

[Bug] [Sink LocalFile v2.3.8] NoSuchMethodError #7833

Open ajinwang2 opened 1 month ago

ajinwang2 commented 1 month ago

Search before asking

What happened

Caused by: org.apache.seatunnel.common.utils.SeaTunnelException: java.lang.NoSuchMethodError: org.apache.seatunnel.format.text.TextSerializationSchema$Builder.charset(Ljava/nio/charset/Charset;)Lorg/apache/seatunnel/format/text/TextSerializationSchema$Builder;

SeaTunnel Version

2.3.8

SeaTunnel Config

seatunnel:
  engine:
    history-job-expire-minutes: 1440
    backup-count: 1
    queue-type: blockingqueue
    print-execution-info-interval: 60
    print-job-metrics-info-interval: 60
    slot-service:
      dynamic-slot: true
    checkpoint:
      interval: 10000
      timeout: 60000
      max-concurrent: 1
      tolerable-failure: 2

Running Command

sink {
   LocalFile {
    path = "/data/seatunnel/data/XXXX/test"
    file_format_type = "text"
    field_delimiter = "#"
    tmp_path = "/XXX/seatunnel/tmp"
  }
}

Error Exception

Caused by: org.apache.seatunnel.common.utils.SeaTunnelException: java.lang.NoSuchMethodError: org.apache.seatunnel.format.text.TextSerializationSchema$Builder.charset(Ljava/nio/charset/Charset;)Lorg/apache/seatunnel/format/text/TextSerializationSchema$Builder;

Zeta or Flink or Spark Version

Zeta

Java or Scala Version

openjdk version "1.8.0_402" OpenJDK Runtime Environment Corretto-8.402.08.1 (build 1.8.0_402-b08) OpenJDK 64-Bit Server VM Corretto-8.402.08.1 (build 25.402-b08, mixed mode)

Screenshots

No response

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 4 days 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.