Welcome to MR3 Group!
1.
Metastore downloads mysql-connector-java-8.0.28.tar.gz from the following address (because the Docker image should not include a MySQL connector). Please check its compatibility with your MySQL database.
2.
Your Metastore log reports that an incompatible database for Metastore already exists in MySQL:
Error: Table 'CTLGS' already exists (state=42S01,code=1050)
org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!
This is probably the reason for the following error message:
2023-04-05T07:47:34,336 ERROR [main] metastore.RetryingHMSHandler: MetaException(message:Version information not found in metastore.)
The database for Metastore is specified in HIVE_DATABASE_NAME in kubernetes/env.sh.
HIVE_DATABASE_NAME=hive3mr3
If a database already exists, try a different database name. If HIVE_DATABASE_NAME points to a database created by another version of Hive, you might also see the above message.
If you have already created a database for Metastore, do not append "--init-schema" option to containers.args[] in kubernetes/yaml/metastore.yaml.
Cheers,
Sungwoo