Closed tcodehuber closed 1 week ago
Hi, @tcodehuber
Can you help to provide more error stack information about where the null exception is thrown? I believe it can help us to understand why the change can fix this issue.
Hi, @tcodehuber
Can you help to provide more error stack information about where the null exception is thrown? I believe it can help us to understand why the change can fix this issue.
@zhoujinsong , I have tested in our env, NPE occurs here:
Why are the changes needed?
If we upgrade AMS but there are tables whose status is running, AMS can not start normally for the deserialization error. The root cause is that
TableRuntime#completeProcessL283 optimizingProcess.getTargetSnapshotId()
optimizingProcess has not been initialized yet. Exception stack:Brief change log
-
How was this patch tested?
[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
[ ] Add screenshots for manual tests if appropriate
[ ] Run test locally before making a pull request
Documentation