Does anybody know a way to use Hive Metatool to update master node location for 
specific hive tables ? The below works but updates all the tables in the 
metastore with the <old master ip>.

hive --service metatool -updateLocation hdfs://ip-xx-yy-zz-.abc:8020/ 
hdfs://ip-xx-yy-zz-.pqr:8020/


is there a way to update master ip only for a subset of tables that has the 
<old master ip>, something like below?

hive --service metatool -updateLocation 
hdfs://ip-xx-yy-zz-.abc:8020/stg/table1/  
hdfs://ip-xx-yy-zz-.pqr:8020/stg/table1/

Thanks in advance!
Revin

Reply via email to