chenjunjiedada commented on issue #1438:
URL: https://github.com/apache/iceberg/issues/1438#issuecomment-694059129


   @stevenzwu , The issue didn't happen when doing the rolling upgrade. As I 
mentioned at the beginning, the issue happens when I submit a new application 
with new Iceberg version to a Flink cluster which deployed an old version 
iceberg. After digging deeper, we found it is because the job manager and task 
manager still deserialize the old version iceberg classes from Flink dependency 
but Flink client uses the new iceberg class from the user application. This 
could be resolved by setting parameter 
`yarn.per-job-cluster.include-user-jar=FIRST` so that the job manager and task 
manager could load new version iceberg classes at first. 
   
   For upgraded Flink cluster with existing application, @JingsongLi, Do we 
expect user upload application along with the iceberg-flink-runtime jar? Or the 
Flink cluster provides the iceberg-flink-runtime jar? In our case, the Flink 
cluster has the iceberg-flink-runtime jar. When the Flink cluster upgraded, the 
user job possibly needs to restart so it would not subject the compatibility 
issue. When it is a rolling upgrade, it probably still doesn't needs to 
transfer iceberg class between job manager and task managers during job running.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to