Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Connecting to a remote distributed HBASE env.


Copy link to this message
-
Re: Connecting to a remote distributed HBASE env.
What is your HBase WebUI showing? Are you abl to see all your servers and
that everything is going well?
2013/9/15 Sznajder ForMailingList <[EMAIL PROTECTED]>

> yep, I am able to use the shell on
> server1
> server2 and
> server3
>
> but **not** on server 4.
> Should I define something to be able?
>
>
>
> On Sun, Sep 15, 2013 at 4:36 PM, Jean-Marc Spaggiari <
> [EMAIL PROTECTED]> wrote:
>
> > Is your HBase server working well? You have access to the UI and
> everything
> > is displayed correctly? Are you able to use the shell too?
> >
> >
> > 2013/9/15 Sznajder ForMailingList <[EMAIL PROTECTED]>
> >
> > >  I am using Hbase 0.90.4
> > >
> > > Benjamin
> > >
> > >
> > > On Sun, Sep 15, 2013 at 4:31 PM, Sznajder ForMailingList <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > Hi
> > > >
> > > > When I am connecting from server4 via my java code:
> > > > (again, hbase runs on server1, server2 and server3)
> > > >
> > > >
> > > > I am getting the following:
> > > >
> > > >      [java] Exception in thread "main" java.lang.RuntimeException:
> > > > org.apache.gora.util.GoraException: java.lang.RuntimeException:
> > > > org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able
> to
> > > > connect to ZooKeeper but the connection closes immediately. This
> could
> > > be a
> > > > sign that the server has too many connections (30 is the default).
> > > Consider
> > > > inspecting your ZK server logs for that error and then make sure you
> > are
> > > > reusing HBaseConfiguration as often as you can. See HTable's javadoc
> > for
> > > > more information.
> > > >      [java]     at
> > > > com.ibm.hrl.crawldb.CrawlDataBase.<init>(CrawlDataBase.java:43)
> > > >      [java]     at
> > > > com.ibm.hrl.main.CrawlQueueMain.main(CrawlQueueMain.java:72)
> > > >      [java] Caused by: org.apache.gora.util.GoraException:
> > > > java.lang.RuntimeException:
> > > > org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able
> to
> > > > connect to ZooKeeper but the connection closes immediately. This
> could
> > > be a
> > > > sign that the server has too many connections (30 is the default).
> > > Consider
> > > > inspecting your ZK server logs for that error and then make sure you
> > are
> > > > reusing HBaseConfiguration as often as you can. See HTable's javadoc
> > for
> > > > more information.
> > > >
> > > >
> > > >
> > > > On Sun, Sep 15, 2013 at 3:34 PM, Jean-Marc Spaggiari <
> > > > [EMAIL PROTECTED]> wrote:
> > > >
> > > >> Also, I will add to Ted:
> > > >> what have you tried so far?
> > > >>
> > > >> JM
> > > >>
> > > >>
> > > >> 2013/9/15 Ted Yu <[EMAIL PROTECTED]>
> > > >>
> > > >> > Have you read http://hbase.apache.org/book.html#zookeeper ?
> > > >> >
> > > >> > What HBase version are you using ?
> > > >> >
> > > >> > Can you pastebin the error(s) you encountered ?
> > > >> >
> > > >> > Thanks
> > > >> >
> > > >> > On Sep 15, 2013, at 1:26 AM, Sznajder ForMailingList <
> > > >> > [EMAIL PROTECTED]> wrote:
> > > >> >
> > > >> > > Hi
> > > >> > >
> > > >> > > I defined a distributed HBASE environment on a cluster of three
> > > >> servers
> > > >> > > server1
> > > >> > > server2
> > > >> > > server3
> > > >> > >
> > > >> > > I would like to run a program using this HBASE from a fourth
> > server
> > > :
> > > >> > > server4
> > > >> > >
> > > >> > > I am connecting to HBASE using GORA.
> > > >> > > However, I do not succeed to "tell" the program to connect by
> > remote
> > > >> to
> > > >> > the
> > > >> > > hbase quorum...
> > > >> > >
> > > >> > > Is it possible?
> > > >> > >
> > > >> > > Thanks
> > > >> > >
> > > >> > > Benjamin
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB