You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2021/11/02 22:40:01 UTC
[jira] [Updated] (FLINK-19204) Improve warning during a
Table.execute()
[ https://issues.apache.org/jira/browse/FLINK-19204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-19204:
-----------------------------------
Labels: auto-deprioritized-major stale-minor (was: auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Minor but is unassigned and neither itself nor its Sub-Tasks have been updated for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is still Minor, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized.
> Improve warning during a Table.execute()
> ----------------------------------------
>
> Key: FLINK-19204
> URL: https://issues.apache.org/jira/browse/FLINK-19204
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Runtime
> Affects Versions: 1.11.1
> Reporter: Timo Walther
> Priority: Minor
> Labels: auto-deprioritized-major, stale-minor
>
> When running a table program locally that uses `Table.execute().collect` the logs contain a warning in most of the runs. Logs should not contain a warning by default, because this is very confusing. At the first glance, it looks like something went wrong even though the program finished successfully.
> {code}
> 2020-09-11 14:03:27,714 WARN org.apache.flink.streaming.api.operators.collect.CollectResultFetcher [] - Failed to get job status so we assume that the job has terminated. Some data might be lost.
> java.lang.IllegalStateException: MiniCluster is not yet running or has already been shut down.
> at org.apache.flink.util.Preconditions.checkState(Preconditions.java:195) ~[classes/:?]
> at org.apache.flink.runtime.minicluster.MiniCluster.getDispatcherGatewayFuture(MiniCluster.java:707) ~[classes/:?]
> at org.apache.flink.runtime.minicluster.MiniCluster.runDispatcherCommand(MiniCluster.java:621) ~[classes/:?]
> at org.apache.flink.runtime.minicluster.MiniCluster.getJobStatus(MiniCluster.java:587) ~[classes/:?]
> at org.apache.flink.client.program.PerJobMiniClusterFactory$PerJobMiniClusterJobClient.getJobStatus(PerJobMiniClusterFactory.java:167) ~[classes/:?]
> at org.apache.flink.streaming.api.operators.collect.CollectResultFetcher.isJobTerminated(CollectResultFetcher.java:199) [classes/:?]
> at org.apache.flink.streaming.api.operators.collect.CollectResultFetcher.next(CollectResultFetcher.java:123) [classes/:?]
> at org.apache.flink.streaming.api.operators.collect.CollectResultIterator.nextResultFromFetcher(CollectResultIterator.java:103) [classes/:?]
> at org.apache.flink.streaming.api.operators.collect.CollectResultIterator.hasNext(CollectResultIterator.java:77) [classes/:?]
> at org.apache.flink.table.planner.sinks.SelectTableSinkBase$RowIteratorWrapper.hasNext(SelectTableSinkBase.java:115) [classes/:?]
> at org.apache.flink.table.api.internal.TableResultImpl$CloseableRowIteratorWrapper.hasNext(TableResultImpl.java:355) [classes/:?]
> at org.apache.flink.table.utils.PrintUtils.printAsTableauForm(PrintUtils.java:155) [classes/:?]
> at org.apache.flink.table.api.internal.TableResultImpl.print(TableResultImpl.java:149) [classes/:?]
> at org.apache.flink.table.examples.scala.basics.GettingStartedExample$.main(GettingStartedExample.scala:90) [classes/:?]
> at org.apache.flink.table.examples.scala.basics.GettingStartedExample.main(GettingStartedExample.scala) [classes/:?]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)