Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Shengjie Min
Guys, I think I got a bit further, I think what happened is: 1. my Hbase client (remote machine) is looking for zookeeper first. It reads local hbase-site.xml, and finds the zookeeper on the cloudera vm, it then locates Hbase master no problem. 2. it gets to Hbase master, next step it tries to l

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Shengjie Min
Hi Kevin, Can you be a bit more specific? I need to change my /etc/hosts on my Cloudera vm? It is just like this now: 127.0.0.1 localhost.localdomain localhost What you suggest me to do here? Thanks, Shengjie On 26 August 2013 00:59, Kevin O'dell wrote: > Shengjie, > > Looks like you

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Kevin O'dell
Shengjie, Looks like you are binding to localhost on your services. Please make sure you correct it so you bind on the interface for zk. On Aug 25, 2013 10:32 AM, "Shengjie Min" wrote: > Sure, Kevin, > > http://imgur.com/SQ3Zao9 > > Shengjie > > > On 25 August 2013 22:22, Kevin O'dell wrote:

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Shengjie Min
Sure, Kevin, http://imgur.com/SQ3Zao9 Shengjie On 25 August 2013 22:22, Kevin O'dell wrote: > Shengjie, > > Good news on being able to connect to the ui from the client. Can you > post a screen shot on imgur? > On Aug 25, 2013 10:12 AM, "Jean-Marc Spaggiari" > wrote: > > > Can you share yo

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Kevin O'dell
Shengjie, Good news on being able to connect to the ui from the client. Can you post a screen shot on imgur? On Aug 25, 2013 10:12 AM, "Jean-Marc Spaggiari" wrote: > Can you share your client code? Or at least the section where you do the > connection? > > Also, have you tried to run the same

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Jean-Marc Spaggiari
Can you share your client code? Or at least the section where you do the connection? Also, have you tried to run the same code from inside the VM? JM 2013/8/25 Shengjie Min > Hi Jean-Marc, > > Sorry about the screenshot, yes, my Hbase client is outside of my VM. And I > can access WebUI from o

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Shengjie Min
Hi Jean-Marc, Sorry about the screenshot, yes, my Hbase client is outside of my VM. And I can access WebUI from outside: http://cloudera:60010 Shengjie On 25 August 2013 21:43, Jean-Marc Spaggiari wrote: > I think you need to post the screenshot on an external website and send the > link here.

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Jean-Marc Spaggiari
I think you need to post the screenshot on an external website and send the link here. So, you are trying to access your VM from outside of your VM? Or your client application is into the VM too? If you are outside of your VM, are you able to access the VM from outside? Like, are you able to acc

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Shengjie Min
On 25 August 2013 21:08, Kevin O'dell wrote: > Can you attach a screen shot of the HMaster UI? It appears ZK is connecting > fine, but can't find .META. > On Aug 25, 2013 8:57 AM, "Shengjie Min" wrote: > > > Hi Jean-Marc, > > > > You meant my cloudera vm or my client? Here is my /etc/hosts > > >

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Kevin O'dell
Can you attach a screen shot of the HMaster UI? It appears ZK is connecting fine, but can't find .META. On Aug 25, 2013 8:57 AM, "Shengjie Min" wrote: > Hi Jean-Marc, > > You meant my cloudera vm or my client? Here is my /etc/hosts > > cloudera vm: > > 127.0.0.1 localhost.localdomain localhos

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Shengjie Min
Hi Jean-Marc, You meant my cloudera vm or my client? Here is my /etc/hosts cloudera vm: 127.0.0.1 localhost.localdomain localhost client: 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost 172.16.144.150 cloudera Shengjie On 25

Re: HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Jean-Marc Spaggiari
Hi, Do you have your host+ip in your host file? JM 2013/8/25 Shengjie Min > Hi guys, > > I am running cloudera quick start vm: > > Versions: > > Hadoop: 2.0.0-cdh4.3.1 > > HBase: 0.94.6-cdh4.3.1 > > Here is my little remote HBase Java client(HbaseClient.java), all it does > is: > > public stat

HBase Java client - unknown host: localhost.localdomain

2013-08-25 Thread Shengjie Min
Hi guys, I am running cloudera quick start vm: Versions: Hadoop: 2.0.0-cdh4.3.1 HBase: 0.94.6-cdh4.3.1 Here is my little remote HBase Java client(HbaseClient.java), all it does is: public static void main(String[] args) throws IOException { Configuration config = HBaseConfiguration.create