I think this is the case of softlinks not getting updated during upgrade. That jar is part of hive-beeline.jar.
Go to /usr/hdp/current/hive-metastore/lib and see if hive-beeline.jar has the correct soft link to hive-beeline-<new version>.jar. If it is not there, you can either try softlinking manually or running
hdp-select set hive-metastore <version>
If you are using hdp-select, make sure softlinks are not broken after the command.