apache / incubator-streampark

Make stream processing easier! Easy-to-use streaming application development framework and operation platform.
https://streampark.apache.org/
Apache License 2.0
3.84k stars 990 forks source link

[Bug] hive UDF verification failed #2759

Open yinshan612 opened 1 year ago

yinshan612 commented 1 year ago

Search before asking

Java Version

1.8

Scala Version

2.12.x

StreamPark Version

2.1.0

Flink Version

1.16.0

deploy mode

None

What happened

Write the hive udf function and place it in S3. When starting, report the function verification failure in udf

Error Exception

Caused by: org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: SQL validation failed. Failed to register jar resource '[ResourceUri{resourceType=JAR, uri='s3://medatc-hadoop-ningxia/hadoop/jar/participle/hive-udf-1.0-SNAPSHOT.jar'}]' of function 'emr_hive.default.participle'.

Screenshots

image image image image image image image image image

Are you willing to submit PR?

Code of Conduct

yinshan612 commented 1 year ago

A separate Yarn application mode is fine. If it is placed in Yarn session, the above error will be reported