[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table db.table no longer exists in TiDB #249

Open
juecong opened this issue Oct 9, 2022 · 1 comment
Open

Table db.table no longer exists in TiDB #249

juecong opened this issue Oct 9, 2022 · 1 comment
Labels
type/question Further information is requested

Comments

@juecong
Copy link
juecong commented Oct 9, 2022

使用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 juecong added the type/question Further information is requested label Oct 9, 2022
@xuanyu66
Copy link
Collaborator

Can you check the table, does it exit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants