When upgrading container, container reinitialization always failed with code 33. This error code means the localizing file already exist while copying resource files. The container will retry with another container ID, hence the problem is masked.
Hadoop 3.1.x relaunch logic seem to have some way to prevent this bug from happening. The same logic might be useful in branch 3.2 and trunk.