Created 01-04-2016 12:50 PM
Created 02-22-2016 12:18 PM
For migrating a hive installation, I did the following things.
1) Install hive in the new hadoop cluster.
2) Transfer the data present in the hive metastore directory (i.e /user/hive/warehouse) to the new hadoop cluster 3) taken the mysql metastore dump. 4) Install mysql in the new hadoop cluster 5) Open the hive mysql-metastore dump using text readers such as notepad, notepad++ etc and search for hdfs://ip-address-old-namenode:port and replace with hdfs://ip-address-new-namenode:port and save it.
Where ip-address-old-namenode is the ipaddress of namenode of old hadoop cluster and ip-address- new-namenode is the ipaddress of namenode of new hadoop cluster.
6) After doing the above steps, restore the editted mysql dump into the mysql of new hadoop cluster. 7) Configure hive as normal and do the hive schema upgradations if needed.
This is a solution that I discovered when I faced the migration issues. I dont know whether any other
standard methods are available.
This worked for me perfectly. 🙂
Created 01-05-2016 03:22 PM
Created 02-01-2016 10:51 PM
@Ashnee Sharma : Did @Kuldeep Kulkarni's response answer your question? If yes, please accept the answer
Created 02-02-2016 12:24 AM
Created 02-22-2016 12:18 PM
For migrating a hive installation, I did the following things.
1) Install hive in the new hadoop cluster.
2) Transfer the data present in the hive metastore directory (i.e /user/hive/warehouse) to the new hadoop cluster 3) taken the mysql metastore dump. 4) Install mysql in the new hadoop cluster 5) Open the hive mysql-metastore dump using text readers such as notepad, notepad++ etc and search for hdfs://ip-address-old-namenode:port and replace with hdfs://ip-address-new-namenode:port and save it.
Where ip-address-old-namenode is the ipaddress of namenode of old hadoop cluster and ip-address- new-namenode is the ipaddress of namenode of new hadoop cluster.
6) After doing the above steps, restore the editted mysql dump into the mysql of new hadoop cluster. 7) Configure hive as normal and do the hive schema upgradations if needed.
This is a solution that I discovered when I faced the migration issues. I dont know whether any other
standard methods are available.
This worked for me perfectly. 🙂
Created 08-18-2016 05:55 AM
are you still having issues with this? Can you accept best answer or provide your own solution?