You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Neilxzn (via GitHub)" <gi...@apache.org> on 2025/04/28 02:35:02 UTC
[I] [Bug] [Transform] Transform run on spark engine occur error [seatunnel]
Neilxzn opened a new issue, #9238:
URL: https://github.com/apache/seatunnel/issues/9238
### 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
Transform FieldMapper run fail on spark 3.2.2 engine. Error log
### SeaTunnel Version
2.3.10
### SeaTunnel Config
```conf
env {
spark.app.name = "example"
spark.sql.catalogImplementation = "hive"
spark.executor.memory= "2g"
spark.executor.instances = "2"
spark.yarn.priority = "100"
hive.exec.dynamic.partition.mode = "nonstrict"
spark.dynamicAllocation.enabled = "false"
spark.driver.extraClassPath = "xxxx"
}
source {
hive {
plugin_output = "fake"
metastore_uri = "xxx"
table_name = "mydatabase.students"
}
}
transform {
FieldMapper {
plugin_input = "fake"
plugin_output = "fake1"
field_mapper = {
name = name
}
}
}
sink {
HdfsFile {
plugin_input = "fake1"
fs.defaultFS = "hdfs://hdfscluster"
path = "/user/hadoop/st20"
file_format = "text"
}
}
```
### Running Command
```shell
apache-seatunnel-2.3.10/bin/start-seatunnel-spark-3-connector-v2.sh --master yarn --deploy-mode client --config hive2hdfstrans.conf
```
### Error Exception
```log
Caused by: org.apache.spark.SparkException: Job aborted due to stage failure:
Aborting TaskSet 0.0 because task 0 (partition 0)
cannot run anywhere due to node and executor excludeOnFailure.
Most recent failure:
Lost task 0.5 in stage 0.0 (TID 5) (host1 executor 6): java.lang.ClassCastException: cannot assign instance of java.lang.invoke.SerializedLambda to field org.apache.spark.sql.execution.MapPartitionsExec.func of type scala.Function1 in instance of org.apache.spark.sql.execution.MapPartitionsExec
at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2233)
at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1405)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2288)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2206)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064)
```
### Zeta or Flink or Spark Version
spark 3.2.2
### Java or Scala Version
1.8/2.12
### 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] [Transform] Transform run on spark engine occur error [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9238: [Bug] [Transform] Transform run on spark engine occur error
URL: https://github.com/apache/seatunnel/issues/9238
--
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] [Transform] Transform run on spark engine occur error [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9238:
URL: https://github.com/apache/seatunnel/issues/9238#issuecomment-2932987261
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.
--
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] [Transform] Transform run on spark engine occur error [seatunnel]
Posted by "hailin0 (via GitHub)" <gi...@apache.org>.
hailin0 commented on issue #9238:
URL: https://github.com/apache/seatunnel/issues/9238#issuecomment-2848400614
Please add testcase
--
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] [Transform] Transform run on spark engine occur error [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9238:
URL: https://github.com/apache/seatunnel/issues/9238#issuecomment-2960891233
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.
--
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