Is there a way to alter the location that a database points to?
I tried the following ways:
alter database <my_db> set DBPROPERTIES('hive.warehouse.dir'='<new_hdfs_loc>');
alter database <my_db> set DBPROPERTIES('location'='<new_hdfs_loc>');
alter database <my_db> set location '<new_hdfs_loc>';
The first two alter statements just changed the DB properties, however the database still points to the same location; while the third alter statement gave me semantics error.
Any help would be highly appreciated.