Configuration options to store Hive managed tables on Ozone
If you want to store Hive managed tables with ACID properties on Ozone, you must
configure specific properties in hive-site.xml
.
You can consider either of the following options to store Hive managed tables with ACID
support on Ozone:
- Set the value of the
hive.metastore.warehouse.dir
property to point to the path of the Ozone directory where you want to store the Hive tables. - Set the value of the
metastore.warehouse.tenant.colocation
property totrue
. You can then set theMANAGEDLOCATION
of your Hive database to point to an Ozone directory so that the Hive tables can reside at the specified location.