Upgrade: Known Issues
Impala Upgrade Fails Due to a Java Version Mismatch
Issue
During the Impala upgrade, the following error might occur:
UnsupportedClassVersionError: org/apache/hadoop/hive/conf/HiveConf has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
This issue occurs because of a Java version mismatch. The Hive class was compiled using Java 17 (class file version 61.0), but the runtime supports only Java 11 (class file version 55.0).
Resolution
- Back up the existing Impala state directory:
mv /var/lib/impala /var/lib/impala-backup
- Reinstall the Impala Python 3 packages based on your operating system.
For RHEL/CentOS:
yum reinstall 'impala_python3*'
- For Ubuntu/Debian:
apt-get install --reinstall 'impala_python3*'
- Resume the upgrade.
Note: Renaming /var/lib/impala preserves the existing state directory instead of deleting it. Verify that the backup is retained and that the upgrade process can safely regenerate the required state before proceeding.

Have a suggestion?