apache / apache/hudi

flinksql uses hudi to write to hdfs and synchronize to hive

Open
#11,862 15 comments 0 reactions 0 assignees View on GitHub
component:catalog-sync engine:flink
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

env:
1,flink 1.7.1
2,hudi 0.15.0
3, hadoop 3.3.4
4,hive 3.1.3
Using the cor mode is correct, but using the mor mode causes an error when compacting. Please help.

2024-08-29 23:11:28 2024-08-29 15:11:28,630 ERROR org.apache.hudi.sink.compact.CompactOperator [] - Executor executes action [Execute compaction for instant 20240829151125857 from task 0] error
2024-08-29 23:11:28 org.apache.hudi.exception.HoodieIOException: Could not check if hdfs://hdfs-name-node:9820/flink/ceshi9 is a valid table
2024-08-29 23:11:28 at org.apache.hudi.exception.TableNotFoundException.checkTableValidity(TableNotFoundException.java:59) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.(HoodieTableMetaClient.java:135) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.newMetaClient(HoodieTableMetaClient.java:680) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.access$100(HoodieTableMetaClient.java:81) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient$Builder.build(HoodieTableMetaClient.java:772) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.table.HoodieFlinkTable.create(HoodieFlinkTable.java:61) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.client.HoodieFlinkWriteClient.getHoodieTable(HoodieFlinkWriteClient.java:463) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactOperator.reloadWriteConfig(CompactOperator.java:158) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactOperator.lambda$processElement$0(CompactOperator.java:124) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.utils.NonThrownExecutor.lambda$wrapAction$0(NonThrownExecutor.java:130) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_392]
2024-08-29 23:11:28 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_392]
2024-08-29 23:11:28 at java.lang.Thread.run(Thread.java:750) [?:1.8.0_392]
2024-08-29 23:11:28 Caused by: java.io.InterruptedIOException: Interrupted waiting to send RPC request to server
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1513) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1455) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:242) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:129) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy34.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:965) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy35.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1739) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1753) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1750) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1765) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.lambda$getFileStatus$17(HoodieWrapperFileSystem.java:414) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.executeFuncWithTimeMetrics(HoodieWrapperFileSystem.java:118) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.getFileStatus(HoodieWrapperFileSystem.java:408) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.storage.hadoop.HoodieHadoopStorage.getPathInfo(HoodieHadoopStorage.java:169) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.exception.TableNotFoundException.checkTableValidity(TableNotFoundException.java:51) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 ... 12 more
2024-08-29 23:11:28 Caused by: java.lang.InterruptedException
2024-08-29 23:11:28 at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client$Connection.sendRpcRequest(Client.java:1213) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1508) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1455) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:242) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:129) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy34.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:965) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy35.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1739) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1753) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1750) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1765) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.lambda$getFileStatus$17(HoodieWrapperFileSystem.java:414) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.executeFuncWithTimeMetrics(HoodieWrapperFileSystem.java:118) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.getFileStatus(HoodieWrapperFileSystem.java:408) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.storage.hadoop.HoodieHadoopStorage.getPathInfo(HoodieHadoopStorage.java:169) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.exception.TableNotFoundException.checkTableValidity(TableNotFoundException.java:51) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 ... 12 more
2024-08-29 23:11:28 2024-08-29 15:11:28,633 INFO org.apache.hudi.common.table.HoodieTableMetaClient [] - Loading HoodieTableMetaClient from hdfs://hdfs-name-node:9820/flink/ceshi9
2024-08-29 23:11:28 2024-08-29 15:11:28,634 INFO org.apache.flink.runtime.taskmanager.Task [] - compact_task -> Sink: compact_commit (1/1)#0 (c037ded52da6b623fb862c69e540631a_97fb0facebfcc4b2c659eb3fc53740f3_0_0) switched from RUNNING to FINISHED.
2024-08-29 23:11:28 2024-08-29 15:11:28,634 INFO org.apache.flink.runtime.taskmanager.Task [] - Freeing task resources for compact_task -> Sink: compact_commit (1/1)#0 (c037ded52da6b623fb862c69e540631a_97fb0facebfcc4b2c659eb3fc53740f3_0_0).
2024-08-29 23:11:28 2024-08-29 15:11:28,634 INFO org.apache.flink.runtime.taskexecutor.TaskExecutor [] - Un-registering task and sending final execution state FINISHED to JobManager for task compact_task -> Sink: compact_commit (1/1)#0 c037ded52da6b623fb862c69e540631a_97fb0facebfcc4b2c659eb3fc53740f3_0_0.
2024-08-29 23:11:28 2024-08-29 15:11:28,633 ERROR org.apache.flink.runtime.util.ClusterUncaughtExceptionHandler [] - WARNING: Thread 'pool-14-thread-1' produced an uncaught exception. If you want to fail on uncaught exceptions, then configure cluster.uncaught-exception-handling accordingly
2024-08-29 23:11:28 org.apache.flink.streaming.runtime.tasks.ExceptionInChainedOperatorException: Could not forward element to next operator
2024-08-29 23:11:28 at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:92) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:50) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:29) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.hudi.adapter.MaskingOutputAdapter.collect(MaskingOutputAdapter.java:60) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.adapter.MaskingOutputAdapter.collect(MaskingOutputAdapter.java:30) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.flink.table.runtime.util.StreamRecordCollector.collect(StreamRecordCollector.java:44) ~[flink-table-runtime-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactOperator.lambda$processElement$1(CompactOperator.java:125) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.utils.NonThrownExecutor.handleException(NonThrownExecutor.java:142) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.utils.NonThrownExecutor.lambda$wrapAction$0(NonThrownExecutor.java:133) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.lang.Thread.run(Thread.java:750) [?:1.8.0_392]
2024-08-29 23:11:28 Caused by: org.apache.hudi.exception.HoodieException: org.apache.hudi.exception.HoodieIOException: Could not check if hdfs://hdfs-name-node:9820/flink/ceshi9 is a valid table
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.lambda$commitIfNecessary$1(CompactionCommitSink.java:130) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at java.util.HashMap.computeIfAbsent(HashMap.java:1128) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.commitIfNecessary(CompactionCommitSink.java:125) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:114) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:59) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:54) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:75) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 ... 11 more
2024-08-29 23:11:28 Caused by: org.apache.hudi.exception.HoodieIOException: Could not check if hdfs://hdfs-name-node:9820/flink/ceshi9 is a valid table
2024-08-29 23:11:28 at org.apache.hudi.exception.TableNotFoundException.checkTableValidity(TableNotFoundException.java:59) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.(HoodieTableMetaClient.java:135) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.newMetaClient(HoodieTableMetaClient.java:680) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.access$100(HoodieTableMetaClient.java:81) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient$Builder.build(HoodieTableMetaClient.java:772) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.table.HoodieFlinkTable.create(HoodieFlinkTable.java:61) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.client.HoodieFlinkWriteClient.getHoodieTable(HoodieFlinkWriteClient.java:463) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.lambda$commitIfNecessary$1(CompactionCommitSink.java:128) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at java.util.HashMap.computeIfAbsent(HashMap.java:1128) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.commitIfNecessary(CompactionCommitSink.java:125) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:114) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:59) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:54) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:75) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 ... 11 more
2024-08-29 23:11:28 Caused by: java.io.InterruptedIOException: Interrupted waiting to send RPC request to server
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1513) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1455) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:242) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:129) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy34.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:965) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy35.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1739) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1753) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1750) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1765) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.lambda$getFileStatus$17(HoodieWrapperFileSystem.java:414) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.executeFuncWithTimeMetrics(HoodieWrapperFileSystem.java:118) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.getFileStatus(HoodieWrapperFileSystem.java:408) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.storage.hadoop.HoodieHadoopStorage.getPathInfo(HoodieHadoopStorage.java:169) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.exception.TableNotFoundException.checkTableValidity(TableNotFoundException.java:51) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.(HoodieTableMetaClient.java:135) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.newMetaClient(HoodieTableMetaClient.java:680) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.access$100(HoodieTableMetaClient.java:81) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient$Builder.build(HoodieTableMetaClient.java:772) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.table.HoodieFlinkTable.create(HoodieFlinkTable.java:61) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.client.HoodieFlinkWriteClient.getHoodieTable(HoodieFlinkWriteClient.java:463) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.lambda$commitIfNecessary$1(CompactionCommitSink.java:128) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at java.util.HashMap.computeIfAbsent(HashMap.java:1128) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.commitIfNecessary(CompactionCommitSink.java:125) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:114) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:59) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:54) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:75) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 ... 11 more
2024-08-29 23:11:28 Caused by: java.lang.InterruptedException
2024-08-29 23:11:28 at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client$Connection.sendRpcRequest(Client.java:1213) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1508) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.Client.call(Client.java:1455) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:242) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:129) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy34.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:965) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_392]
2024-08-29 23:11:28 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at com.sun.proxy.$Proxy35.getFileInfo(Unknown Source) ~[?:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1739) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1753) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1750) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) ~[hadoop-common-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1765) ~[hadoop-hdfs-client-3.3.4.jar:?]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.lambda$getFileStatus$17(HoodieWrapperFileSystem.java:414) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.executeFuncWithTimeMetrics(HoodieWrapperFileSystem.java:118) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.hadoop.fs.HoodieWrapperFileSystem.getFileStatus(HoodieWrapperFileSystem.java:408) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.storage.hadoop.HoodieHadoopStorage.getPathInfo(HoodieHadoopStorage.java:169) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.exception.TableNotFoundException.checkTableValidity(TableNotFoundException.java:51) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.(HoodieTableMetaClient.java:135) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.newMetaClient(HoodieTableMetaClient.java:680) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient.access$100(HoodieTableMetaClient.java:81) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.common.table.HoodieTableMetaClient$Builder.build(HoodieTableMetaClient.java:772) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.table.HoodieFlinkTable.create(HoodieFlinkTable.java:61) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.client.HoodieFlinkWriteClient.getHoodieTable(HoodieFlinkWriteClient.java:463) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.lambda$commitIfNecessary$1(CompactionCommitSink.java:128) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at java.util.HashMap.computeIfAbsent(HashMap.java:1128) ~[?:1.8.0_392]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.commitIfNecessary(CompactionCommitSink.java:125) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:114) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.hudi.sink.compact.CompactionCommitSink.invoke(CompactionCommitSink.java:59) ~[hudi-flink1.17-bundle-0.15.0.jar:0.15.0]
2024-08-29 23:11:28 at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:54) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:75) ~[flink-dist-1.17.1.jar:1.17.1]
2024-08-29 23:11:28 ... 11 more
2024-08-29 23:11:29 2024-08-29 15:11:29,534 INFO org.apache.flink.runtime.taskexecutor.slot.TaskSlotTableImpl [] - Free slot TaskSlot(index:2, state:ACTIVE, resource profile: ResourceProfile{cpuCores=1, taskHeapMemory=1.141gb (1224736768 bytes), taskOffHeapMemory=0 bytes, managedMemory=16.000mb (16777216 bytes), networkMemory=256.000mb (268435456 bytes)}, allocationId: 4008d4285e8ab6ce6bde583a9f0373f7, jobId: fff078e034e31ac7adfd40774dc31dc2).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with org.apache.hudi.sink.compact.CompactOperator.java, especially processElement and reloadWriteConfig, then trace the table-loading path through HoodieFlinkTable.java and HoodieTableMetaClient.java. Reproduce MOR compaction with the stated Flink, Hudi, Hadoop, and Hive versions and determine why the HDFS table check is interrupted; done means compaction completes without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
data-engineering, databases, distributed-systems, stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.