Nilex19 commented on issue #7872:
URL: https://github.com/apache/seatunnel/issues/7872#issuecomment-2759582382
@WZH-hub , hi!
I have similar problem. But with Seatunnel version 2.3.9.
Could you help, please?
**SeaTunnel Version**:
2.3.9
**SeaTunnel Config:**:
env {
parallelism = 5
spark.app.name = "hivetohdfs"
spark.sql.catalogImplementation = "hive"
spark.executor.memory= "4g"
spark.executor.instances = "4"
spark.executor.cores = "4"
spark.driver.memory = "8g"
spark.yarn.priority = "100"
hive.exec.dynamic.partition.mode = "nonstrict"
spark.dynamicAllocation.enabled="false"
}
source {
Hive {
plugin_output = "hive_source"
table_name = "some_table_schema.some_table_name"
metastore_uri = "******************"
}
}
transform {
Sql {
plugin_input = "hive_source"
plugin_output = "filtered_data"
query = "SELECT customer_id, location FROM hive_source"
}
}
sink {
HdfsFile {
plugin_input = "filtered_data"
fs.defaultFS = "******"
path = "/tmp/some_table_schema__some_table_name"
file_format_type = "orc"
single_file_mode = "true"
}
}
**Zeta or Flink or Spark Version**:
Spark version 3.3.1
**Error, transform step doesn't work**:
25/03/25 11:37:37 ERROR SeaTunnel: Fatal Error,
25/03/25 11:37:37 ERROR SeaTunnel: Please submit bug report in
https://github.com/apache/seatunnel/issues
25/03/25 11:37:37 ERROR SeaTunnel: Reason:Run SeaTunnel on spark failed
25/03/25 11:37:37 ERROR SeaTunnel: Exception
StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException:
Run SeaTunnel on spark failed
at
org.apache.seatunnel.core.starter.spark.command.SparkTaskExecuteCommand.execute(SparkTaskExecuteCommand.java:62)
at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
at
org.apache.seatunnel.core.starter.spark.SeaTunnelSpark.main(SeaTunnelSpark.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:739)
Caused by: org.apache.seatunnel.common.utils.SeaTunnelException: **table
filtered_data not found**
at
org.apache.seatunnel.core.starter.spark.execution.SparkAbstractPluginExecuteProcessor.lambda$fromSourceTable$1(SparkAbstractPluginExecuteProcessor.java:91)
at java.util.Optional.orElseThrow(Optional.java:290)
at
org.apache.seatunnel.core.starter.spark.execution.SparkAbstractPluginExecuteProcessor.fromSourceTable(SparkAbstractPluginExecuteProcessor.java:88)
at
org.apache.seatunnel.core.starter.spark.execution.SinkExecuteProcessor.execute(SinkExecuteProcessor.java:97)
at
org.apache.seatunnel.core.starter.spark.execution.SparkExecution.execute(SparkExecution.java:72)
at
org.apache.seatunnel.core.starter.spark.command.SparkTaskExecuteCommand.execute(SparkTaskExecuteCommand.java:60)
... 7 more
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]