dwshmilyss opened a new issue, #7275:
URL: https://github.com/apache/hudi/issues/7275
When I tried to add an index to a cow table by async in schedule stage,i got
this error:
```
3229 [main] ERROR org.apache.hudi.utilities.UtilHelpers - Indexer failed
java.lang.NoSuchMethodError:
org.apache.hudi.common.table.TableSchemaResolver.getTableAvroSchema(Z)Lorg/apache/avro/Schema;
at
org.apache.hudi.utilities.UtilHelpers.getSchemaFromLatestInstant(UtilHelpers.java:554)
at
org.apache.hudi.utilities.HoodieIndexer.scheduleIndexing(HoodieIndexer.java:223)
at
org.apache.hudi.utilities.HoodieIndexer.lambda$start$1(HoodieIndexer.java:190)
at org.apache.hudi.utilities.UtilHelpers.retry(UtilHelpers.java:541)
at org.apache.hudi.utilities.HoodieIndexer.start(HoodieIndexer.java:186)
at org.apache.hudi.utilities.HoodieIndexer.main(HoodieIndexer.java:155)
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.JavaMainApplication.start(SparkApplication.scala:52)
at
org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:955)
at
org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:180)
at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:203)
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90)
at
org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1043)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1052)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
```
but i checked hudi-utilities-bundle_2.12-0.11.1.jar , and i found out this
method was exists。
<img width="1597" alt="image"
src="https://user-images.githubusercontent.com/8295288/203294919-a174ab2e-2226-47ad-beb3-1a4ade2ccb25.png">
Please help me , I would appreciate it.
--
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]