Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13EC910995 for ; Sun, 15 Sep 2013 13:32:51 +0000 (UTC) Received: (qmail 21076 invoked by uid 500); 15 Sep 2013 13:32:46 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 20632 invoked by uid 500); 15 Sep 2013 13:32:46 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 20527 invoked by uid 99); 15 Sep 2013 13:32:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Sep 2013 13:32:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bs4mailinglist@gmail.com designates 209.85.215.173 as permitted sender) Received: from [209.85.215.173] (HELO mail-ea0-f173.google.com) (209.85.215.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Sep 2013 13:32:38 +0000 Received: by mail-ea0-f173.google.com with SMTP id g10so1491313eak.32 for ; Sun, 15 Sep 2013 06:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=F66ljBjdwPV9uzuvIhGgXKraKsABSeq+F8sGcQKhMSw=; b=rC8t3Qv+/xmhZFyz4Haclwv23SPr1ddRSpAYtacstLFUZ/ZZMkXOuk7gzX89OR5Ozm hQZZ1LZ6qhx+bzz4qXxmQpp+neFHYt5tgr7Wz1pwqITiDVkUujZOrptzuB6myu71a+0X 8UbDb+IOB5LvH32nCiiI7aTlYf7wi6BIaJpn5/JMKy5W8htpP70w1iv/xmryVB64dvD8 /tldfjn2oyVKpVsssA7LAZhs1d5GhsjGz89sEedNuolgKGq20WrxSTll5BozZ+wRzQSU gxiXOIIRq/SBm0FzMWkJArqfzkXWNjc93oX8wHgwg8M/q9nOzTEwDArM67WdIkFVmBiP 4cDQ== MIME-Version: 1.0 X-Received: by 10.14.88.65 with SMTP id z41mr4540085eee.38.1379251938760; Sun, 15 Sep 2013 06:32:18 -0700 (PDT) Received: by 10.14.144.66 with HTTP; Sun, 15 Sep 2013 06:32:18 -0700 (PDT) In-Reply-To: References: <57C99CD2-C506-47AD-8F2D-C3C314A1C948@gmail.com> Date: Sun, 15 Sep 2013 16:32:18 +0300 Message-ID: Subject: Re: Connecting to a remote distributed HBASE env. From: Sznajder ForMailingList To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a11c23184ddc91904e66c1d2f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c23184ddc91904e66c1d2f Content-Type: text/plain; charset=ISO-8859-1 I am using Hbase 0.90.4 Benjamin On Sun, Sep 15, 2013 at 4:31 PM, Sznajder ForMailingList < bs4mailinglist@gmail.com> 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.(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 < > jean-marc@spaggiari.org> wrote: > >> Also, I will add to Ted: >> what have you tried so far? >> >> JM >> >> >> 2013/9/15 Ted Yu >> >> > 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 < >> > bs4mailinglist@gmail.com> 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 >> > >> > > --001a11c23184ddc91904e66c1d2f--