YinChunGuang commented on issue #19332:
URL: https://github.com/apache/hudi/issues/19332#issuecomment-5029050018

   
   
   
   
   
   ============================================other error 
===================================================
   
   
   
   
   
   
   
   
   
   
   
   
   2026-07-19 02:08:33,199 INFO  
org.apache.hudi.common.table.view.FileSystemViewManager      [] - Creating View 
Manager with storage type REMOTE_FIRST.
   2026-07-19 02:08:33,200 INFO  
org.apache.hudi.client.BaseHoodieTableServiceClient          [] - Scheduling 
compaction at instant time: 20260719020833199 for table 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
   2026-07-19 02:08:33,201 INFO  
org.apache.hudi.table.action.compact.plan.generators.HoodieCompactionPlanGenerator
 [] - Compaction Strategy used is: 
org.apache.hudi.table.action.compact.strategy.LogFileSizeBasedCompactionStrategy@2c9eb41c
   2026-07-19 02:08:33,201 INFO  
org.apache.hudi.table.action.compact.ScheduleCompactionActionExecutor [] - 
Checking if compaction needs to be run on 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
   2026-07-19 02:08:33,257 INFO  
org.apache.hudi.table.action.compact.ScheduleCompactionActionExecutor [] - The 
delta commits >= 5 or elapsed_time >=600s, trigger compaction scheduler.
   2026-07-19 02:08:33,257 INFO  
org.apache.hudi.table.action.compact.ScheduleCompactionActionExecutor [] - 
Generating compaction plan for merge on read table 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
   2026-07-19 02:08:33,260 INFO  
org.apache.hudi.table.action.BaseTableServicePlanActionExecutor [] - Start to 
fetch incremental partitions for COMPACT
   2026-07-19 02:08:33,451 INFO  
org.apache.hudi.table.action.BaseTableServicePlanActionExecutor [] - Fetched 
incremental partitions for COMPACT. []. Instant 20260719020833199
   2026-07-19 02:08:33,451 INFO  
org.apache.hudi.table.action.compact.plan.generators.BaseHoodieCompactionPlanGenerator
 [] - Strategy: LogFileSizeBasedCompactionStrategy matched 1 partition paths 
from all 1 partitions for table 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
   2026-07-19 02:08:33,452 INFO  
org.apache.hudi.table.action.compact.plan.generators.BaseHoodieCompactionPlanGenerator
 [] - Looking for files to compact in 1 partitions for table 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
   2026-07-19 02:08:33,452 INFO  
org.apache.hudi.common.table.view.FileSystemViewManager      [] - Creating 
remote view for basePath 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock.
 Server=172.28.72.228:16131, Timeout=300
   2026-07-19 02:08:33,457 INFO  
org.apache.hudi.timeline.service.RequestHandler              [] - Syncing view 
as client passed last known instant 20260719020753080 as last known instant but 
server has the following last instant on timeline: 
Option{val=[20260719020253083__20260719020307800__deltacommit__COMPLETED]}
   2026-07-19 02:08:33,517 INFO  
org.apache.hudi.common.table.view.AbstractTableFileSystemView [] - Took 1 ms to 
read 0 instants, 0 replaced file groups
   2026-07-19 02:08:33,521 INFO  org.apache.hudi.common.util.ClusteringUtils    
              [] - Found 0 files in pending clustering operations
   
   
   2026-07-19 02:08:33,642 INFO  
org.apache.hudi.common.util.collection.ExternalSpillableMap  [] - 
KeyBasedFileGroupRecordBuffer : Total entries in InMemory map 2, with average 
record size as 1456, currentInMemoryMapSize 2912. No entries were spilled to 
disk. 
   2026-07-19 02:08:33,664 INFO  
org.apache.hudi.table.action.compact.plan.generators.BaseHoodieCompactionPlanGenerator
 [] - Last completed instant time 20260719020753080 for table 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
   2026-07-19 02:08:33,677 INFO  
org.apache.hudi.common.table.view.AbstractTableFileSystemView [] - Took 0 ms to 
read 0 instants, 0 replaced file groups
   2026-07-19 02:08:33,678 INFO  org.apache.hudi.common.util.ClusteringUtils    
              [] - Found 0 files in pending clustering operations
   2026-07-19 02:08:33,679 INFO  
org.apache.hudi.metadata.HoodieTableMetadataUtil             [] - Loading 
latest merged file slices for metadata table partition files
   2026-07-19 02:08:33,681 INFO  
org.apache.hudi.common.table.view.AbstractTableFileSystemView [] - Building 
file system view for partition (files)
   2026-07-19 02:08:33,730 ERROR 
org.apache.hudi.timeline.service.RequestHandler              [] - Got runtime 
exception servicing request 
partition=&lastinstantts=20260719020753080&timelinehash=0ad4abb62ba797e27d5742d1b0d0411845691601c7e926dcbf709cbe566b498e&basepath=hdfs%3A%2F%2Fbipcluster%2Fuser%2Fhive%2Fwarehouse%2Fyuqi_oldetl_test.db%2Ft_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
   org.apache.hudi.exception.HoodieMetadataException: Failed to retrieve files 
in partition 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
 from metadata
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:142)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.AbstractTableFileSystemView.getAllFilesInPartition(AbstractTableFileSystemView.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.AbstractTableFileSystemView.getLatestFileSlicesStateless(AbstractTableFileSystemView.java:901)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.service.handlers.FileSliceHandler.getLatestFileSlicesStateless(FileSliceHandler.java:110)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.service.RequestHandler.lambda$registerFileSlicesAPI$19(RequestHandler.java:338)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.service.RequestHandler$ViewHandler.lambda$handle$0(RequestHandler.java:611)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at java.security.AccessController.doPrivileged(Native Method) 
~[?:1.8.0_281]
        at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_281]
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)
 ~[flink-shaded-hadoop-3-uber-3.1.1.7.2.9.0-173-9.0.jar:3.1.1.7.2.9.0-173-9.0]
        at 
org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:594)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.core.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:20) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServlet.addHandler$lambda-0(JavalinServlet.kt:96) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServlet$lifecycle$2$1$1.invoke(JavalinServlet.kt:43) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServlet$lifecycle$2$1$1.invoke(JavalinServlet.kt:43) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServletHandler.executeNextTask(JavalinServletHandler.kt:99)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServletHandler.queueNextTaskOrFinish$lambda-1(JavalinServletHandler.kt:85)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:995)
 ~[?:1.8.0_281]
        at 
java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137) 
~[?:1.8.0_281]
        at 
io.javalin.http.JavalinServletHandler.queueNextTaskOrFinish$javalin(JavalinServletHandler.kt:85)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at io.javalin.http.JavalinServlet.service(JavalinServlet.kt:89) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:52)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:516) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:479)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:105)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_281]
   Caused by: org.apache.hudi.exception.HoodieIOException: Unable to read 
schema from HFile
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.fetchSchema(HoodieNativeAvroHFileReader.java:280)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at org.apache.hudi.util.Lazy.get(Lazy.java:54) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getSchema(HoodieNativeAvroHFileReader.java:189)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getIndexedRecordsByKeysIterator(HoodieNativeAvroHFileReader.java:326)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:224)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:163)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.makeBaseFileIterator(HoodieFileGroupReader.java:157)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.initRecordIterators(HoodieFileGroupReader.java:129)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getBufferedRecordIterator(HoodieFileGroupReader.java:291)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getClosableIterator(HoodieFileGroupReader.java:300)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceWithFilter(HoodieBackedTableMetadata.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupRecordsItr(HoodieBackedTableMetadata.java:602)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:580)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupIndexRecords(HoodieBackedTableMetadata.java:295)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecords(HoodieBackedTableMetadata.java:473)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:428)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readFilesIndexRecords(HoodieBackedTableMetadata.java:184)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.fetchAllFilesInPartition(BaseTableMetadata.java:293)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:140)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        ... 51 more
   Caused by: java.io.IOException: Unable to construct HFile reader
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.loadAllMetaInfoIntoCacheIfNeeded(HoodieNativeAvroHFileReader.java:318)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getHFileMetaInfoFromCache(HoodieNativeAvroHFileReader.java:301)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.fetchSchema(HoodieNativeAvroHFileReader.java:278)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at org.apache.hudi.util.Lazy.get(Lazy.java:54) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getSchema(HoodieNativeAvroHFileReader.java:189)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getIndexedRecordsByKeysIterator(HoodieNativeAvroHFileReader.java:326)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:224)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:163)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.makeBaseFileIterator(HoodieFileGroupReader.java:157)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.initRecordIterators(HoodieFileGroupReader.java:129)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getBufferedRecordIterator(HoodieFileGroupReader.java:291)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getClosableIterator(HoodieFileGroupReader.java:300)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceWithFilter(HoodieBackedTableMetadata.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupRecordsItr(HoodieBackedTableMetadata.java:602)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:580)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupIndexRecords(HoodieBackedTableMetadata.java:295)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecords(HoodieBackedTableMetadata.java:473)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:428)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readFilesIndexRecords(HoodieBackedTableMetadata.java:184)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.fetchAllFilesInPartition(BaseTableMetadata.java:293)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:140)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        ... 51 more
   Caused by: java.lang.ArrayIndexOutOfBoundsException: -3
        at 
org.apache.hudi.io.hfile.HFileUtils.readMajorVersion(HFileUtils.java:38) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.hfile.HFileReaderImpl.readTrailer(HFileReaderImpl.java:298) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.hfile.HFileReaderImpl.initializeMetadata(HFileReaderImpl.java:74)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.hfile.HFileReaderImpl.getNumKeyValueEntries(HFileReaderImpl.java:115)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.loadAllMetaInfoIntoCacheIfNeeded(HoodieNativeAvroHFileReader.java:309)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getHFileMetaInfoFromCache(HoodieNativeAvroHFileReader.java:301)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.fetchSchema(HoodieNativeAvroHFileReader.java:278)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at org.apache.hudi.util.Lazy.get(Lazy.java:54) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getSchema(HoodieNativeAvroHFileReader.java:189)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getIndexedRecordsByKeysIterator(HoodieNativeAvroHFileReader.java:326)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:224)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:163)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.makeBaseFileIterator(HoodieFileGroupReader.java:157)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.initRecordIterators(HoodieFileGroupReader.java:129)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getBufferedRecordIterator(HoodieFileGroupReader.java:291)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getClosableIterator(HoodieFileGroupReader.java:300)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceWithFilter(HoodieBackedTableMetadata.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupRecordsItr(HoodieBackedTableMetadata.java:602)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:580)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupIndexRecords(HoodieBackedTableMetadata.java:295)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecords(HoodieBackedTableMetadata.java:473)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:428)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readFilesIndexRecords(HoodieBackedTableMetadata.java:184)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.fetchAllFilesInPartition(BaseTableMetadata.java:293)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:140)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        ... 51 more
   2026-07-19 02:08:33,735 WARN  io.javalin.Javalin                             
              [] - Uncaught exception
   org.apache.hudi.exception.HoodieMetadataException: Failed to retrieve files 
in partition 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock
 from metadata
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:142)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.AbstractTableFileSystemView.getAllFilesInPartition(AbstractTableFileSystemView.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.AbstractTableFileSystemView.getLatestFileSlicesStateless(AbstractTableFileSystemView.java:901)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.service.handlers.FileSliceHandler.getLatestFileSlicesStateless(FileSliceHandler.java:110)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.service.RequestHandler.lambda$registerFileSlicesAPI$19(RequestHandler.java:338)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.service.RequestHandler$ViewHandler.lambda$handle$0(RequestHandler.java:611)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at java.security.AccessController.doPrivileged(Native Method) 
~[?:1.8.0_281]
        at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_281]
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)
 ~[flink-shaded-hadoop-3-uber-3.1.1.7.2.9.0-173-9.0.jar:3.1.1.7.2.9.0-173-9.0]
        at 
org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:594)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.core.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:20) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServlet.addHandler$lambda-0(JavalinServlet.kt:96) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServlet$lifecycle$2$1$1.invoke(JavalinServlet.kt:43) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServlet$lifecycle$2$1$1.invoke(JavalinServlet.kt:43) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServletHandler.executeNextTask(JavalinServletHandler.kt:99)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.http.JavalinServletHandler.queueNextTaskOrFinish$lambda-1(JavalinServletHandler.kt:85)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:995)
 ~[?:1.8.0_281]
        at 
java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137) 
~[?:1.8.0_281]
        at 
io.javalin.http.JavalinServletHandler.queueNextTaskOrFinish$javalin(JavalinServletHandler.kt:85)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at io.javalin.http.JavalinServlet.service(JavalinServlet.kt:89) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:52)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:516) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:479)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:105)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
 [hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_281]
   Caused by: org.apache.hudi.exception.HoodieIOException: Unable to read 
schema from HFile
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.fetchSchema(HoodieNativeAvroHFileReader.java:280)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at org.apache.hudi.util.Lazy.get(Lazy.java:54) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getSchema(HoodieNativeAvroHFileReader.java:189)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getIndexedRecordsByKeysIterator(HoodieNativeAvroHFileReader.java:326)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:224)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:163)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.makeBaseFileIterator(HoodieFileGroupReader.java:157)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.initRecordIterators(HoodieFileGroupReader.java:129)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getBufferedRecordIterator(HoodieFileGroupReader.java:291)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getClosableIterator(HoodieFileGroupReader.java:300)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceWithFilter(HoodieBackedTableMetadata.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupRecordsItr(HoodieBackedTableMetadata.java:602)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:580)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupIndexRecords(HoodieBackedTableMetadata.java:295)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecords(HoodieBackedTableMetadata.java:473)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:428)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readFilesIndexRecords(HoodieBackedTableMetadata.java:184)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.fetchAllFilesInPartition(BaseTableMetadata.java:293)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:140)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        ... 51 more
   Caused by: java.io.IOException: Unable to construct HFile reader
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.loadAllMetaInfoIntoCacheIfNeeded(HoodieNativeAvroHFileReader.java:318)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getHFileMetaInfoFromCache(HoodieNativeAvroHFileReader.java:301)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.fetchSchema(HoodieNativeAvroHFileReader.java:278)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at org.apache.hudi.util.Lazy.get(Lazy.java:54) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getSchema(HoodieNativeAvroHFileReader.java:189)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getIndexedRecordsByKeysIterator(HoodieNativeAvroHFileReader.java:326)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:224)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:163)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.makeBaseFileIterator(HoodieFileGroupReader.java:157)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.initRecordIterators(HoodieFileGroupReader.java:129)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getBufferedRecordIterator(HoodieFileGroupReader.java:291)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getClosableIterator(HoodieFileGroupReader.java:300)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceWithFilter(HoodieBackedTableMetadata.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupRecordsItr(HoodieBackedTableMetadata.java:602)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:580)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupIndexRecords(HoodieBackedTableMetadata.java:295)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecords(HoodieBackedTableMetadata.java:473)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:428)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readFilesIndexRecords(HoodieBackedTableMetadata.java:184)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.fetchAllFilesInPartition(BaseTableMetadata.java:293)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:140)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        ... 51 more
   Caused by: java.lang.ArrayIndexOutOfBoundsException: -3
        at 
org.apache.hudi.io.hfile.HFileUtils.readMajorVersion(HFileUtils.java:38) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.hfile.HFileReaderImpl.readTrailer(HFileReaderImpl.java:298) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.hfile.HFileReaderImpl.initializeMetadata(HFileReaderImpl.java:74)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.hfile.HFileReaderImpl.getNumKeyValueEntries(HFileReaderImpl.java:115)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.loadAllMetaInfoIntoCacheIfNeeded(HoodieNativeAvroHFileReader.java:309)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getHFileMetaInfoFromCache(HoodieNativeAvroHFileReader.java:301)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.fetchSchema(HoodieNativeAvroHFileReader.java:278)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at org.apache.hudi.util.Lazy.get(Lazy.java:54) 
~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getSchema(HoodieNativeAvroHFileReader.java:189)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.io.storage.HoodieNativeAvroHFileReader.getIndexedRecordsByKeysIterator(HoodieNativeAvroHFileReader.java:326)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:224)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.avro.HoodieAvroReaderContext.getFileRecordIterator(HoodieAvroReaderContext.java:163)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.makeBaseFileIterator(HoodieFileGroupReader.java:157)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.initRecordIterators(HoodieFileGroupReader.java:129)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getBufferedRecordIterator(HoodieFileGroupReader.java:291)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.read.HoodieFileGroupReader.getClosableIterator(HoodieFileGroupReader.java:300)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceWithFilter(HoodieBackedTableMetadata.java:554)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:624)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupRecordsItr(HoodieBackedTableMetadata.java:602)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readSliceAndFilterByKeysIntoList(HoodieBackedTableMetadata.java:580)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.lookupIndexRecords(HoodieBackedTableMetadata.java:295)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecords(HoodieBackedTableMetadata.java:473)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:434)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readIndexRecordsWithKeys(HoodieBackedTableMetadata.java:428)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.HoodieBackedTableMetadata.readFilesIndexRecords(HoodieBackedTableMetadata.java:184)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.fetchAllFilesInPartition(BaseTableMetadata.java:293)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.metadata.BaseTableMetadata.getAllFilesInPartition(BaseTableMetadata.java:140)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        ... 51 more
   2026-07-19 02:08:33,742 ERROR 
org.apache.hudi.common.table.view.PriorityBasedFileSystemView [] - Got error 
running preferred function. Trying secondary
   org.apache.hudi.exception.HoodieRemoteException: status code: 500, reason 
phrase: Server Error
        at 
org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestFileSlicesStreamFromParams(RemoteHoodieTableFileSystemView.java:294)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestFileSlicesStateless(RemoteHoodieTableFileSystemView.java:313)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.PriorityBasedFileSystemView.execute(PriorityBasedFileSystemView.java:91)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.PriorityBasedFileSystemView.getLatestFileSlicesStateless(PriorityBasedFileSystemView.java:220)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.table.action.compact.plan.generators.BaseHoodieCompactionPlanGenerator.lambda$generateCompactionPlan$7141a08d$1(BaseHoodieCompactionPlanGenerator.java:132)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.function.FunctionWrapper.lambda$throwingFlatMapWrapper$1(FunctionWrapper.java:48)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) 
~[?:1.8.0_281]
        at 
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) 
~[?:1.8.0_281]
        at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) 
~[?:1.8.0_281]
        at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) 
~[?:1.8.0_281]
        at java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:747) 
~[?:1.8.0_281]
        at java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:721) 
~[?:1.8.0_281]
        at java.util.stream.AbstractTask.compute(AbstractTask.java:316) 
~[?:1.8.0_281]
        at 
java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) 
~[?:1.8.0_281]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) 
~[?:1.8.0_281]
        at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401) 
~[?:1.8.0_281]
        at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734) 
~[?:1.8.0_281]
        at 
java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:714) 
~[?:1.8.0_281]
        at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) 
~[?:1.8.0_281]
        at 
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) 
~[?:1.8.0_281]
        at 
org.apache.hudi.client.common.HoodieFlinkEngineContext.lambda$flatMap$8(HoodieFlinkEngineContext.java:157)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.client.common.HoodieFlinkEngineContext.lambda$executeParallelStream$10(HoodieFlinkEngineContext.java:180)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424) 
[?:1.8.0_281]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) 
[?:1.8.0_281]
        at 
java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067) 
[?:1.8.0_281]
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703) 
[?:1.8.0_281]
        at 
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) 
[?:1.8.0_281]
   Caused by: org.apache.hudi.org.apache.http.client.HttpResponseException: 
status code: 500, reason phrase: Server Error
        at 
org.apache.hudi.org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.http.client.fluent.Response.handleResponse(Response.java:91)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.org.apache.http.client.fluent.Response.returnContent(Response.java:98)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.TimelineServiceClient.executeRequest(TimelineServiceClient.java:64)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.timeline.TimelineServiceClientBase.makeRequest(TimelineServiceClientBase.java:57)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.executeRequest(RemoteHoodieTableFileSystemView.java:169)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        at 
org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestFileSlicesStreamFromParams(RemoteHoodieTableFileSystemView.java:290)
 ~[hudi-flink1.18-bundle-1.1.1.jar:1.1.1]
        ... 26 more
   2026-07-19 02:08:33,744 INFO  
org.apache.hudi.common.table.view.FileSystemViewManager      [] - Creating 
InMemory based view for basePath 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock.
   2026-07-19 02:08:33,752 INFO  org.apache.hudi.common.table.HoodieTableConfig 
              [] - Loading table properties from 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock/.hoodie/hoodie.properties
   2026-07-19 02:08:33,754 INFO  org.apache.hudi.common.table.HoodieTableConfig 
              [] - Loading table properties from 
hdfs://bipcluster/user/hive/warehouse/yuqi_oldetl_test.db/t_info_instl_reservation_order_rtm11_chunguang_11_9_memlock/.hoodie/metadata/.hoodie/hoodie.properties


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


Reply via email to