The auto-generated ids are included in the savepoint data. So, it should be possible to them from the savepoint. However, AFAIK, there is no tool to do that. You'd need to manually dig into the serialized data.
Cheers, Fabian 2018-09-18 13:30 GMT+02:00 vino yang <yanghua1...@gmail.com>: > Hi Paul, > > Referring to the Flink official documentation, it seems that this is not > possible at this time.[1] > > Someone has previously discussed the state of the savepoint in the dev > mailing list. Perhaps this method can meet your needs after implementation. > [2] > > Thanks, vino. > > [1]: https://ci.apache.org/projects/flink/flink-docs- > release-1.6/ops/state/savepoints.html#faq > [2]: http://apache-flink-mailing-list-archive.1008284.n3. > nabble.com/Proposal-Utilities-for-reading-transforming-and- > creating-Streaming-savepoints-td23843.html#a23859 > > Paul Lam <paullin3...@gmail.com> 于2018年9月18日周二 下午7:11写道: > >> Hi, >> >> I have a legacy stateful streaming job running in production, whose >> operator ids are not set and were auto generated by Flink. And now I’m >> planning to update the code and explicitly set operator ids for the job. >> >> Is it possible to keep the states of the job, since the operator ids >> would change? Thanks a lot! >> >> Best, >> Paul Lam > >