Re: hive on mutinode hadoop

2011-02-21 Thread Amlan Mandal
My moutinode hadoop is running fine but my hive is throwing java.net.ConnectException: Call to localhost/127.0.0.1:54310 failed on connection exception: java.net.ConnectException: Connection refused at org.apache.hadoop.ipc.Client. > > wrapException(Client.java:767) > at org.apache.hadoop.

Re: hive on mutinode hadoop

2011-02-21 Thread Amlan Mandal
Thanks Sangeetha. If I can check http://:50070/dfsnodelist.jsp?whatNodes=LIVE amlan-laptop is my master . If it shows ALL data nodes that mean my multi node hadoop is working fine.(I think) Now in hive CLI I am getting java.net.ConnectException: Call to localhost/127.0.0.1:54310 failed on conn

Re: hive on mutinode hadoop

2011-02-21 Thread sangeetha s
Ya,What Jeff said is correct. You should not name different ip's in a common name. Map the Ip's and host name correctly and try again. Cheers! On Mon, Feb 21, 2011 at 7:43 PM, Jeff Bean wrote: > One thing i notice is that /etc/hosts is different on each host: > amlan-laptop is bound to localhost

Re: hive on mutinode hadoop

2011-02-21 Thread Jeff Bean
One thing i notice is that /etc/hosts is different on each host: amlan-laptop is bound to localhost on the master and its bound to a different ip on the slave. Make the files on both macnes the same. Sent from my iPad On Feb 21, 2011, at 2:06, Amlan Mandal wrote: > Thanks MIS. > > Can somebo

Re: hive on mutinode hadoop

2011-02-21 Thread Amlan Mandal
Thanks MIS. Can somebody please tell me what is wrong with this. cat /etc/hosts (on master) 127.0.0.1 localhost amlan-laptop 192.168.1.11dhan cat /etc/hosts (on slave) 127.0.0.1 localhost dhan 192.168.1.22amlan-laptop cat conf/masters (on master) amlan-laptop cat con

Re: hive on mutinode hadoop

2011-02-21 Thread MIS
Please have the host-name and ip address mapping in the /etc/hosts file on both the nodes that are running hadoop cluster. One more thing : I hope secondary namenode is also running along namenode but you may have forgot to mention it. Thanks, MIS On Mon, Feb 21, 2011 at 12:47 PM, Amlan Mandal

Re: hive on mutinode hadoop

2011-02-20 Thread Amlan Mandal
Thanks Mafish. Can you please point me which config need to be set correctly? Amlan On Mon, Feb 21, 2011 at 12:45 PM, Mafish Liu wrote: > It seem you did not config your HDFS properly. > > "Caused by: java.lang.IllegalArgumentException: Wrong FS: > hdfs:// > 192.168.1.22:54310/tmp/hive-hadoop/h

Re: hive on mutinode hadoop

2011-02-20 Thread Mafish Liu
It seem you did not config your HDFS properly. "Caused by: java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.1.22:54310/tmp/hive-hadoop/hive_2011-02-21_12-09-42_678_6107747797061030113, expected: hdfs://amlan-laptop.local:54310 " 2011/2/21 Amlan Mandal : > To give more context my mul

Re: hive on mutinode hadoop

2011-02-20 Thread Amlan Mandal
To give more context my multinode hadoop is working fine. fs.default.name, mapred.job.tracker settings are correct. I can submit job to my multinode hadoop and see output. (One of the node running namenode,datanode,job tracker , task tracker other running task tracker and datanode) On Mon, Feb 21

hive on mutinode hadoop

2011-02-20 Thread Amlan Mandal
Earlier I had hive running on single node hadoop which was working fine. Now I made it 2 node hadoop cluster. When I run hive from cli I am getting following error java.lang.RuntimeException: Error while making MR scratch directory - check filesystem config (null) at org.apache.hadoop.hive.ql