hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Revin Chalil <rcha...@expedia.com>
Subject Hive Metatool - update master node for specific hive tables
Date Thu, 20 Apr 2017 19:21:17 GMT
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

Mime
View raw message