TiBigData icon indicating copy to clipboard operation
TiBigData copied to clipboard

Table db.table no longer exists in TiDB

Open juecong opened this issue 1 year ago • 1 comments

使用tibigdata整合flink读取数据时,程序出现 java.lang.IllegalStateException: Table db.table no longer exists in TiDB at io.tidb.bigdata.tidb.ClientSession.lambda$getTableMust$0(ClientSession.java:181) ~[flink-tidb-connector-1.13-0.0.5-SNAPSHOT.jar:?] at java.util.Optional.orElseThrow(Optional.java:290) ~[?:1.8.0_281] at io.tidb.bigdata.tidb.ClientSession.getTableMust(ClientSession.java:178) ~[flink-tidb-connector-1.13-0.0.5-SNAPSHOT.jar:?] at io.tidb.bigdata.tidb.ClientSession.getTableMust(ClientSession.java:173) ~[flink-tidb-connector-1.13-0.0.5-SNAPSHOT.jar:?] at io.tidb.bigdata.tidb.ClientSession.request(ClientSession.java:290) ~[flink-tidb-connector-1.13-0.0.5-SNAPSHOT.jar:?] at io.tidb.bigdata.tidb.RecordSetInternal.(RecordSetInternal.java:61) ~[flink-tidb-connector-1.13-0.0.5-SNAPSHOT.jar:?] at io.tidb.bigdata.flink.connector.source.reader.TiDBSourceReader.tryMoveToNextSplit(TiDBSourceReader.java:122) ~[flink-tidb-connector-1.13-0.0.5-SNAPSHOT.jar:?] at io.tidb.bigdata.flink.connector.source.reader.TiDBSourceReader.pollNext(TiDBSourceReader.java:151) ~[flink-tidb-connector-1.13-0.0.5-SNAPSHOT.jar:?] at org.apache.flink.connector.base.source.hybrid.HybridSourceReader.pollNext(HybridSourceReader.java:85) ~[count.jar:?] at org.apache.flink.streaming.api.operators.SourceOperator.emitNext(SourceOperator.java:305) ~[count.jar:?] at org.apache.flink.streaming.runtime.io.StreamTaskSourceInput.emitNext(StreamTaskSourceInput.java:69) ~[count.jar:?] at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:66) ~[count.jar:?] at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:423) ~[count.jar:?] at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:204) ~[count.jar:?] at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:684) ~[count.jar:?] at org.apache.flink.streaming.runtime.tasks.StreamTask.executeInvoke(StreamTask.java:639) ~[count.jar:?] at org.apache.flink.streaming.runtime.tasks.StreamTask.runWithCleanUpOnFail(StreamTask.java:650) ~[count.jar:?] at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:623) ~[count.jar:?] at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:779) ~[count.jar:?] at org.apache.flink.runtime.taskmanager.Task.run(Task.java:566) ~[count.jar:?] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_281]

请问该怎样解决?

juecong avatar Oct 09 '22 00:10 juecong

Can you check the table, does it exit?

xuanyu66 avatar Nov 15 '22 03:11 xuanyu66