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 5053C10BA9 for ; Wed, 11 Sep 2013 00:05:19 +0000 (UTC) Received: (qmail 40484 invoked by uid 500); 11 Sep 2013 00:05:17 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 40405 invoked by uid 500); 11 Sep 2013 00:05:17 -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 40397 invoked by uid 99); 11 Sep 2013 00:05:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 00:05:17 +0000 X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=FR_ALMOST_VIAG2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of renatoj.marroquin@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bk0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 00:05:12 +0000 Received: by mail-bk0-f47.google.com with SMTP id mx12so3243710bkb.34 for ; Tue, 10 Sep 2013 17:04:51 -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=wKzl/lpJVy3jQpdhjNYO8hnbkKOTRIc2vnK3z6RcXDw=; b=JNvL5kRg34WPy8q7k0HyMRUty7TjrsYFe+yqwobiwuy//0VJ/O3mE2PEelynG65Dss dFwzaCcn2Ew7W2/hCdrjcnS8yGP6BKZL2QFkxXDoEwNGBPU6Togdn5ndR3nawTsjbhL8 gdnVwtQsJGcy1N6W8VAVVrDcQctuLQrg20Jpc/zL0V8eOYMHHbjvkMF2KrGc5I3bh5XH V97tbOAo/DyU1xai0UecsMlnLZETt9AD5CigJ4gDnBbeICoNUVxBBZzZFV6XPYoIfT7T xfZKI6n1hA9zSxhbGWK4+HfEkf8lWuAmtY16uET+WeDPiCY69GNVYJfFphJ3lPAd2ZBz kl5w== MIME-Version: 1.0 X-Received: by 10.204.234.5 with SMTP id ka5mr8092326bkb.5.1378857891318; Tue, 10 Sep 2013 17:04:51 -0700 (PDT) Received: by 10.205.103.129 with HTTP; Tue, 10 Sep 2013 17:04:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Sep 2013 19:04:51 -0500 Message-ID: Subject: Re: Two concurrent programs using the same hbase From: =?ISO-8859-1?Q?Renato_Marroqu=EDn_Mogrovejo?= To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf301cbf82cf0bcc04e6105eb5 X-Virus-Checked: Checked by ClamAV on apache.org --20cf301cbf82cf0bcc04e6105eb5 Content-Type: text/plain; charset=ISO-8859-1 Hi Benjamin, Are you able to insert data through hbase shell? How big is your zookeeper quorum? Are you running zookeeper as a separate process? Maybe you should just add more connections to your zookeeper process through its configuration file. Renato M. 2013/9/10 Sznajder ForMailingList > Hi > > I installed hbase on a gpfs directory and lanched it using > bin/start-hbase.sh > > Two servers on this gpfs filesystem run a similar program. > This program accesses the hbase via GORA call: > > this.dataStore = DataStoreFactory.getDataStore(Long.class, > Pageview.class, new Configuration()); > > > However, when I am launching the second program on the second server, I get > the following exception: > [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. > > > > I do not know how to solve that. It is strange, since only *two* programs > use this HBASE connection. > > Thanks a lot > > Benjamin > --20cf301cbf82cf0bcc04e6105eb5--