两种方式:
一、通过修改表DDL:
alter table table_name set location 'hdfs://128.196.235.130:9000/input'
二、直接修改hive 的meta info:
update `DBS` set `DB_LOCATION_URI` = replace(DB_LOCATION_URI,"oldpath","newpath")
update SDS set location =replace(location,'oldpath,'newpath')