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 A2A84D71F for ; Fri, 7 Sep 2012 07:58:21 +0000 (UTC) Received: (qmail 96388 invoked by uid 500); 7 Sep 2012 07:58:19 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 96347 invoked by uid 500); 7 Sep 2012 07:58:19 -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 96328 invoked by uid 99); 7 Sep 2012 07:58:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 07:58:18 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of jeroen@lable.org does not designate 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 07:58:11 +0000 Received: by qcsd16 with SMTP id d16so1560223qcs.14 for ; Fri, 07 Sep 2012 00:57:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=/0AJuhFGSqhlNUJCZ8pkx8hus3XnDDjQkxvyTGVgB30=; b=gw172XfWDTE7+J7qbiCluVf8KmV9jhdiOeLcu/mqgbyPrBwGDjYdIKIH9JR17Bev2X xY5pynbISzVNdWFJLYzLaSJzSYgEL0SNQNMoH0t5BNxXBoECkyW9nrioxAjie6fgDVI6 osC3wsmzylWZlD/S+0UeMQd0ID7Uwf0FNma3uxDNjeHGHcYQ3xHtIIhwDvuwcIpvutlC mcjLxGGSlXrk95mYa+dHo3woo2/By1epMfHEy8O6Cf9P07KF0f8++GY1UXIP07HDf5pb 9USaaeeI1DtNukiA0qHdIGV/WWgyu57miZLMc3h0oUUff61NTlEsy+PvuYhoTtGd86oQ 6sPg== MIME-Version: 1.0 Received: by 10.224.208.73 with SMTP id gb9mr6532361qab.53.1347004667604; Fri, 07 Sep 2012 00:57:47 -0700 (PDT) Received: by 10.49.71.144 with HTTP; Fri, 7 Sep 2012 00:57:47 -0700 (PDT) X-Originating-IP: [82.139.84.30] Date: Fri, 7 Sep 2012 09:57:47 +0200 Message-ID: Subject: Local debugging (possibly with Maven and HBaseTestingUtility?) From: Jeroen Hoek To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkxBTtS727A3AqKAejy2ca1QmKFQUvGvL+nnU3jx00c129lHRUiYD3wXeAqZeDeBlxkHnXu X-Virus-Checked: Checked by ClamAV on apache.org Hello, We are developing a web-application that uses HBase as database, with Tomcat as application server. Currently, our server-side code can act as a sort of NoSQL abstraction-layer for either HBase or Google AppEngine. HBase is used in production, AppEngine mainly for testing and demo deployments. Our current development setup is centred around Eclipse, and local testing and debugging is done by running the application from Eclipse, which launches the Jetty application server and connects to a local AppEngine database persisted to a single file in the WEB-INF directory. This allows the developers to easily test new features against an existing (local) database that is persisted as long you don't throw away the binary file yourself. We would like to be able to do the same thing with HBase. So far I have seen examples of HBaseTestingUtility being used in unit tests (usually with Maven), but while that covers unit-testing, I have not been able to find a way to run a local, persistent faux-HBase cluster like AppEngine does. Is there a recommended way of doing this? The reason for wanting to be able to test locally like this is to avoid the overhead of running a local VM with HBase or having to connect to a remote test-cluster when developing. Kind regards, Jeroen Hoek