You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "FLOWFOX (via GitHub)" <gi...@apache.org> on 2024/09/05 03:51:53 UTC

[I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

FLOWFOX opened a new issue, #7588:
URL: https://github.com/apache/seatunnel/issues/7588

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   The binary package I downloaded from the official website is not up to date [seatunnel-hadoop3-3.1.4-uber.jar]
   
   ### SeaTunnel Version
   
   2.3.7
   
   ### SeaTunnel Config
   
   ```conf
   # Defining the runtime environment
   env {
     parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     # This is a example source plugin **only for test and demonstrate the feature source plugin**
      FtpFile {
      result_table_name = "fake"
       host = "172.17.0.2"
       port = 21
       user = "ftpuser"
       password = "ftpuser"
       path = "/data/ftp/2.json"
       file_format_type = "json"
       schema = {
         fields {
           name = string
           age = tinyint
         }
       }
     }
     # If you would like to get more information about how to configure seatunnel and see full list of source plugins,
     # please go to https://seatunnel.apache.org/docs/category/source-v2
   }
   
   transform {
     # If you would like to get more information about how to configure seatunnel and see full list of transform plugins,
       # please go to https://seatunnel.apache.org/docs/category/transform-v2
   }
   
   sink {
       console{
       source_table_name = "fake"
       }
        S3File {
        source_table_name = "fake"
       bucket = "s3a://test"
       tmp_path = "/seatunnel"
       path="/seatunnel"
       fs.s3a.endpoint="http://192.168.1.12:49000"
       fs.s3a.aws.credentials.provider="org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider"
       access_key = "minioadmin"
       secret_key = "minioadmin"
       file_format_type = "json"
       hadoop_s3_properties {
         "fs.s3a.buffer.dir" = "/home/hadoop"
         "fs.s3a.fast.upload.buffer" = "disk"
       }
     }
     # If you would like to get more information about how to configure seatunnel and see full list of sink plugins,
     # please go to https://seatunnel.apache.org/docs/category/sink-v2
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ../bin/seatunnel.sh -c s3.conf
   ```
   
   
   ### Error Exception
   
   ```log
   Exception in thread "main" org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
   	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:211)
   	at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
   	at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
   Caused by: org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.hadoop.util.SemaphoredDelegatingExecutor.<init>(Lcom/google/common/util/concurrent/ListeningExecutorService;IZ)V
   	at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:292)
   	at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:74)
   	at org.apache.seatunnel.engine.server.task.SeaTunnelTransformCollector.collect(SeaTunnelTransformCollector.java:39)
   	at org.apache.seatunnel.engine.server.task.SeaTunnelTransformCollector.collect(SeaTunnelTransformCollector.java:27)
   	at org.apache.seatunnel.engine.server.task.group.queue.IntermediateBlockingQueue.handleRecord(IntermediateBlockingQueue.java:75)
   	at org.apache.seatunnel.engine.server.task.group.queue.IntermediateBlockingQueue.collect(IntermediateBlockingQueue.java:50)
   	at org.apache.seatunnel.engine.server.task.flow.IntermediateQueueFlowLifeCycle.collect(IntermediateQueueFlowLifeCycle.java:51)
   	at org.apache.seatunnel.engine.server.task.TransformSeaTunnelTask.collect(TransformSeaTunnelTask.java:73)
   	at org.apache.seatunnel.engine.server.task.SeaTunnelTask.stateProcess(SeaTunnelTask.java:168)
   	at org.apache.seatunnel.engine.server.task.TransformSeaTunnelTask.call(TransformSeaTunnelTask.java:78)
   	at org.apache.seatunnel.engine.server.TaskExecutionService$BlockingWorker.run(TaskExecutionService.java:717)
   	at org.apache.seatunnel.engine.server.TaskExecutionService$NamedTaskWrapper.run(TaskExecutionService.java:1039)
   	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   	at java.base/java.lang.Thread.run(Thread.java:834)
   Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.hadoop.util.SemaphoredDelegatingExecutor.<init>(Lcom/google/common/util/concurrent/ListeningExecutorService;IZ)V
   	at org.apache.seatunnel.api.sink.multitablesink.MultiTableSinkWriter.subSinkErrorCheck(MultiTableSinkWriter.java:121)
   	at org.apache.seatunnel.api.sink.multitablesink.MultiTableSinkWriter.write(MultiTableSinkWriter.java:158)
   	at org.apache.seatunnel.api.sink.multitablesink.MultiTableSinkWriter.write(MultiTableSinkWriter.java:43)
   	at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:269)
   	... 16 more
   Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.util.SemaphoredDelegatingExecutor.<init>(Lcom/google/common/util/concurrent/ListeningExecutorService;IZ)V
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.create(S3AFileSystem.java:769)
   	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1118)
   	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1098)
   	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:987)
   	at org.apache.seatunnel.connectors.seatunnel.file.hadoop.HadoopFileSystemProxy.getOutputStream(HadoopFileSystemProxy.java:162)
   	at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.JsonWriteStrategy.getOrCreateOutputStream(JsonWriteStrategy.java:125)
   	at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.JsonWriteStrategy.write(JsonWriteStrategy.java:69)
   	at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseFileSinkWriter.write(BaseFileSinkWriter.java:134)
   	at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseFileSinkWriter.write(BaseFileSinkWriter.java:46)
   	at org.apache.seatunnel.api.sink.multitablesink.MultiTableWriterRunnable.run(MultiTableWriterRunnable.java:62)
   	... 5 more
   
   	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:203)
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.apache.org

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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "YuriyGavrilov (via GitHub)" <gi...@apache.org>.
YuriyGavrilov commented on issue #7588:
URL: https://github.com/apache/seatunnel/issues/7588#issuecomment-2339222241

   same issue with writing iceberg on s3. @FLOWFOX what should be recompiled? 


-- 
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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx closed issue #7588: [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date
URL: https://github.com/apache/seatunnel/issues/7588


-- 
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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "YuriyGavrilov (via GitHub)" <gi...@apache.org>.
YuriyGavrilov commented on issue #7588:
URL: https://github.com/apache/seatunnel/issues/7588#issuecomment-2342040918

   Yep it is working. good compile with java 17 Azul. thx @FLOWFOX 


-- 
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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "YuriyGavrilov (via GitHub)" <gi...@apache.org>.
YuriyGavrilov commented on issue #7588:
URL: https://github.com/apache/seatunnel/issues/7588#issuecomment-2350952515

   @Hisoka-X yes, used Mac OS X on intel chip and latest maven 


-- 
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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "FLOWFOX (via GitHub)" <gi...@apache.org>.
FLOWFOX commented on issue #7588:
URL: https://github.com/apache/seatunnel/issues/7588#issuecomment-2330545534

   downloading the source code and recompiling it will solve this problem


-- 
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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "FLOWFOX (via GitHub)" <gi...@apache.org>.
FLOWFOX commented on issue #7588:
URL: https://github.com/apache/seatunnel/issues/7588#issuecomment-2339422274

   downloading the source code and recompiling `seatunnel-shade/seatunnel-hadoop3-3.1.4-uber` project @YuriyGavrilov 


-- 
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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X commented on issue #7588:
URL: https://github.com/apache/seatunnel/issues/7588#issuecomment-2350955352

   > @Hisoka-X yes, used Mac OS X on intel chip and latest maven.
   > 
   > First way was to use latest java but it didn't work fine with 22, 21 and so on till 17
   
   Thanks for share this information.


-- 
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


Re: [I] [Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date [seatunnel]

Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X commented on issue #7588:
URL: https://github.com/apache/seatunnel/issues/7588#issuecomment-2350943495

   Hi @FLOWFOX @YuriyGavrilov , are you build on mac/linux?


-- 
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