hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: connecting to hbase remotely
Date Thu, 06 Mar 2014 11:52:38 GMT
Can you share a sample of you code to see where it can come from?


2014-03-06 6:05 GMT-05:00 yeshwanth kumar <yeshwanth43@gmail.com>:

> Hi i am using HBase 0.94.6-cdh4.5.0
>
> i conected to hbase by setting config explicitly in my code through
> config.set zookeeper quorum property.
>
> i am able to read the hbase table data properly,it is connecting to the
> host specified in config
> log:
>
> " Creating new Groups object
> Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping;
> cacheTimeout=300000
> hadoop login
> hadoop login commit
> using local user:UnixPrincipal: root
> UGI loginUser:root
> hconnection opening connection to ZooKeeper with ensemble (
> 192.168.2.51:2181
> )"
>
> but when i try to write data to hbase it is trying to connect to the
> localhost as
> log:
> "hconnection opening connection to ZooKeeper with ensemble
> (localhost:2181)"
>
>
> complete log for writing to hbase is here <http://pastebin.com/kAp1h4ru>
>
> am i missing anything, do i need to specify anyother properties
>
> can some one help me with this issue.
>
>
> thanks,
> yeshwanth
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message