Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 24751 invoked from network); 1 Mar 2010 17:19:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 17:19:43 -0000 Received: (qmail 67916 invoked by uid 500); 1 Mar 2010 17:19:41 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 67885 invoked by uid 500); 1 Mar 2010 17:19:41 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 67876 invoked by uid 99); 1 Mar 2010 17:19:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 17:19:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lars.francke@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-ww0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 17:19:34 +0000 Received: by wwb29 with SMTP id 29so407239wwb.35 for ; Mon, 01 Mar 2010 09:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=wvrr2SRjyIRJaI01NZcwZOJRDr213a0UIK8/LVj7I3g=; b=hGYjrHOLHMbtQOcTy1sfyrCmXGm4HaYjE4vqZASfFLXVwUnqak3o8+GNZmAg8mFpAn rFNX+dIu5Hr84eeFJGB3S2CZiPKOmbTTi48kr/XcVU4GE5jK5Xw/7wVy0/Ku8B257Egs KXKZLayHUHyTsl8v7hW6Gg+zaL1xb/VQLn5G8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=LdYvkZIbAzwivLv9USBK8UpLuDvQuvBB7hmSLC3mPXakSvJC2M6nl72h8EM+udPrtu lnMMeJ6lzkok4cjUxPaZLoIK6dPTDyK2Gs3zHzsMvX5nANEra1IvcWMIrSVIUCpeW6VW qQfRH3NXIWNMK/wb+tBMca/zwmqQdxNFh8zAY= MIME-Version: 1.0 Received: by 10.216.185.75 with SMTP id t53mr3093413wem.208.1267463952911; Mon, 01 Mar 2010 09:19:12 -0800 (PST) In-Reply-To: <749712.82530.qm@web31808.mail.mud.yahoo.com> References: <17e273101002270905x7d452be9w2a8ff6cd7ca83473@mail.gmail.com> <7c457ebe1002271419o305b968asfb26de0e41bd497a@mail.gmail.com> <17e273101002271700j3b001efg651e51e168a903eb@mail.gmail.com> <105405.75274.qm@web65505.mail.ac4.yahoo.com> <4B8A936D.40003@gmail.com> <8211a1321002280809uc85e297o966a7187b9d312e0@mail.gmail.com> <4B8A9723.8000709@gmail.com> <32120a6a1002280854p7452fa92u6c67162bc1eb84e5@mail.gmail.com> <4B8AED30.1090906@gmail.com> <749712.82530.qm@web31808.mail.mud.yahoo.com> From: Lars Francke Date: Mon, 1 Mar 2010 18:18:52 +0100 Message-ID: Subject: Re: Why windows support is critical To: hbase-user@hadoop.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > I ended up creating a pseudo-distributed installation on Ubuntu in a > Virtual Box. It all works fine from localhost, and I can run the shell. B= ut I don't see how that's useful to anyone who actually wants to build a re= al application. I'm struggling to > figure out how to "connect" to it from a remote Java client. The document= ation in this area seems to be sorely lacking, and the painfully brief "Als= o note:" comment in the quick start doesn't seem to actually work. (preempt= ive comment: yes, I know Virtual Box and can connect to the Ubuntu machine = in every other way I've tried) I haven't tried in a while but as far as I know you must run a fully-distributed operation to be able to connect from "outside". After that the steps are "fairly" easy. You have to include the hbase jar along with all its dependencies (I know those aren't documented anywhere right now: zookeeper, hadoop-core, hadoop-hdfs, hadoop-mapred(?), commons-logging, commons-logging-api, log4j) and you need a hbase-site.xml in your classpath that includes the property " hbase.zookeeper.quorum" which needs to point to your zookeeper quorum (in a single node testcase this would be only a single name/ip address). I'm sure the XML file isn't necessary and a Configuration object can be build manually... After that it should work. I'm developing mainly on Windows too and it works just fine. Building HBase etc. works too, only the tests won't run. There are improvements planned to refactor out a client jar that can be easily used. Feel free to contact me if you need further help with accessing HBase from Windows. Cheers, Lars