Problem Description
When hive initializes metadata, the initialization fails and the error is reported as follows:
solution:
Create a hive database in mysql to save hive metadata
and then initialize it. The command is as follows: The initialization is successful. As
bin/schematool -dbType mysql -initSchema
shown in the figure below, the initialization is successful.