You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Manickam P <ma...@outlook.com> on 2013/06/28 06:29:56 UTC

Moving hive from one server to another



Hi,
What are the steps one should follow to move hive from one server to another along with hadoop? I've moved my hadoop master node from one server to another and then moved my hive also. I started all my hadoop nodes successfully but getting error while executing hive queries. It shows the below error and shows my old master node ip address. java.net.ConnectException: Call to 192.168.99.33/192.168.99.33:50000 failed on connection exception: java.net.ConnectException: Connection refusedJob Submission failed with exception 'java.net.ConnectException(Call to 192.000.00.33/192.000.00.33:50000 failed on connection exception: java.net.ConnectException: Connection refused)'java.lang.IllegalArgumentException: Can not create a Path from an empty string
I checked my hive-site.xml file i have given the correct new ip address. Anyone pls tell me where would be the mistake here. I don't have any clue. 


Thanks,
Manickam P 		 	   		  

Re: Moving hive from one server to another

Posted by Bennie Schut <bs...@ebuddy.com>.
Unfortunately the ip is stored with each partition in the metadatabase.
I once did an update on the metatdata for our server to replace all old 
ip's with new ip's. It's not pretty but that actually works.

Op 28-6-2013 06:29, Manickam P schreef:
> Hi,
>
> What are the steps one should follow to move hive from one server to 
> another along with hadoop?
> I've moved my hadoop master node from one server to another and then 
> moved my hive also. I started all my hadoop nodes successfully but 
> getting error while executing hive queries. It shows the below error 
> and shows my old master node ip address.
>
>     *java.net.ConnectException: Call to
>     192.168.99.33/192.168.99.33:50000 failed on connection exception:
>     java.net.ConnectException: Connection refused*
>     *
>     Job Submission failed with exception
>     'java.net.ConnectException(Call to
>     192.000.00.33/192.000.00.33:50000 failed on connection exception:
>     java.net.ConnectException: Connection refused)'
>     java.lang.IllegalArgumentException: Can not create a Path from an
>     empty string
>
>     *
>
> I checked my hive-site.xml file i have given the correct new ip 
> address. Anyone pls tell me where would be the mistake here. 
> I don't have any clue.
>
>
> Thanks,
> Manickam P