I am trying to set up metastore for Hive but getting error saying:
"Hive metastore is not initialized"
I tried it with derby and mysql but I am getting the same error for both the database.
I am trying to set up metastore for Hive but getting error saying:
"Hive metastore is not initialized"
I tried it with derby and mysql but I am getting the same error for both the database.
For a mysql databasem you first have to create a userhive and a metastore database. You then have to initialize the metastore thought the below command:
$HIVE_HOME/bin/schematool -dbType mysql -initSchema
This will initialize the schema.
more detail on that tutorial