Hive initialization metadata error [How to Solve]

Hive was configured today, and an error was reported to me when initializing metadata

I first modify hive/conf/hive site XML configuration file, adding servertimezone = UTC

<property>
    <name>javax.jdo.option.ConnectionURL</name>
    <value>jdbc:mysql://192.168.244.1:3306/hive?createDatabaseIfNotExist=true&amp;useSSL=false&amp;serverTimezone=UTC</value>
</property>

Then I still can’t

This error is because your database name or table name already exists. You need to delete the previous one or re create a new one, directly in/conf/hive site Modify the XML configuration file below, as shown in the figure below. Just redefine the name of a database

Similar Posts: