Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 38262 invoked from network); 17 Jan 2008 08:30:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2008 08:30:04 -0000 Received: (qmail 61593 invoked by uid 500); 17 Jan 2008 08:29:52 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 61572 invoked by uid 500); 17 Jan 2008 08:29:52 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Received: (qmail 61563 invoked by uid 99); 17 Jan 2008 08:29:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 00:29:52 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of maqiang1984@gmail.com designates 64.233.178.245 as permitted sender) Received: from [64.233.178.245] (HELO hs-out-2122.google.com) (64.233.178.245) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 08:29:24 +0000 Received: by hs-out-2122.google.com with SMTP id 54so395332hsz.5 for ; Thu, 17 Jan 2008 00:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=c4zdwYERbfOkAmZkXMeFOvDWX/UqX2Dh3GXZsPxEVWQ=; b=EWoq2LLjeYRCx2AxEvX9lRa2lYRuBJmFlqdnMeyh4DtB9wfRPmIYHdrOETpBxi9dOKVqRXdoXDsUKPMxEvtVgBK/y2St4h/0WVRiLMMPw3VG9PmDy0DUL46mzUB70L5aOtnQYm5CsnT2NSIIOQr3p14T7ky4QryhoK42xgtSqk0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HIO9FdXi+VHsoYqQV3RB+tAYI0mOTvhuN+z3jC+g1CLpf1dw+iTOk5+a9tBUXuQP/GunACYy9ttQDxv7SlMR+CJvBGsWyxSvvqTy0zYYLosaSl9k5PIy7pNeL+IK9lGfqZydqPRtK2Dd2r2FctJkL0kpxa6wMR2KRty4AsWng5c= Received: by 10.150.186.12 with SMTP id j12mr415151ybf.55.1200558568837; Thu, 17 Jan 2008 00:29:28 -0800 (PST) Received: by 10.150.177.18 with HTTP; Thu, 17 Jan 2008 00:29:28 -0800 (PST) Message-ID: <2af70f430801170029v7417efefue4a92d5766d32002@mail.gmail.com> Date: Thu, 17 Jan 2008 16:29:28 +0800 From: "ma qiang" To: hadoop-user@lucene.apache.org Subject: Re: about using HBase? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2af70f430801162337i4a2138aav91ff88aba3c09ecd@mail.gmail.com> <2af70f430801162358k2ba1206n94201e98bc119886@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thank you very much! I've used the HQL as you metioned, but where is package including HQLClient and ReturnMsg ? On Jan 17, 2008 4:05 PM, edward yoon wrote: > > See the HBaseAdmin and HTable, HConnection classes. > If you use a eclipse for develop, i'd recommend the Outline Viewer. > > Or, you can also use the HQL as describe below. > > HQLClient hql = new HQLClient(new HBaseConfiguration(), MASTER_ADDRESS, null, null); > ReturnMsg rs = hql.executeQuery("create table webtable('content','title');"); > > > B. Regards, > > Edward yoon @ NHN, corp. > > > > Date: Thu, 17 Jan 2008 15:58:24 +0800 > > From: maqiang1984@gmail.com > > To: hadoop-user@lucene.apache.org > > Subject: Re: about using HBase? > > > > Thanks very much! > > When I manipulate the HBase in map and reduce function,I need use the > > java api about HBase. Can you tell me how to use it? > > > > > > > > > On Jan 17, 2008 3:50 PM, edward yoon wrote: > >> > >> Sorry for my broke mail. > >> > >> Please copy the hadoop-0.16.*-hbase.jar to ${hadoop_home}/lib folder. > >> And, Here's a exmple of hadoop-site.xml > >> > >> Also, see example code of https://issues.apache.org/jira/browse/HADOOP-2480 > >> -- > >> > >> > >> > >> hbase.master > >> a51066.nhncorp.com:60000 > >> The port for the hbase master web UI > >> Set to -1 if you do not want the info server to run. > >> > >> > >> > >> hbase.master.info.port > >> 60010 > >> The port for the hbase master web UI > >> Set to -1 if you do not want the info server to run. > >> > >> > >> > >> hbase.regionserver > >> a51066.nhncorp.com:60020 > >> The port for the hbase regionserver web UI > >> Set to -1 if you do not want the info server to run. > >> > >> > >> > >> hbase.regionserver.info.port > >> 61030 > >> The port for the hbase regionserver web UI > >> Set to -1 if you do not want the info server to run. > >> > >> > >> > >> hbase.rootdir > >> /tmp/hbase > >> location of HBase instance in dfs > >> > >> > >> > >> > >> > >> > >> > >> B. Regards, > >> > >> Edward yoon @ NHN, corp. > >> > >> > >>> From: webmaster@udanax.org > >>> To: hadoop-user@lucene.apache.org > >>> Subject: RE: about using HBase? > >>> Date: Thu, 17 Jan 2008 07:46:00 +0000 > >> > >>> > >>> > >>> Please copy the hadoop-0.16.*-hbase.jar to ${hadoop_home}/lib folder. > >>> And, Here's a exmple of hadoop-site.xml > >>> > >>> > >>> > >>> > >>> hbase.master > >>> a51066.nhncorp.com:60000 > >>> The port for the hbase master web UI > >>> Set to -1 if you do not want the info server to run. > >>> > >>> > >>> > >>> hbase.master.info.port > >>> 60010 > >>> The port for the hbase master web UI > >>> Set to -1 if you do not want the info server to run. > >>> > >>> > >>> > >>> hbase.regionserver > >>> a51066.nhncorp.com:60020 > >>> The port for the hbase regionserver web UI > >>> Set to -1 if you do not want the info server to run. > >>> > >>> > >>> > >>> hbase.regionserver.info.port > >>> 61030 > >>> The port for the hbase regionserver web UI > >>> Set to -1 if you do not want the info server to run. > >>> > >>> > >>> > >>> hbase.rootdir > >>> /tmp/hbase > >>> location of HBase instance in dfs > >>> > >>> > >>> > >>> > >>> Thanks. > >>> > >>> > >>> B. Regards, > >>> Edward yoon @ NHN, corp. > >>> > >>> ---------------------------------------- > >>>> Date: Thu, 17 Jan 2008 15:37:58 +0800 > >>>> From: maqiang1984@gmail.com > >>>> To: hadoop-user@lucene.apache.org > >>>> Subject: about using HBase? > >>>> > >>>> Dear colleagues; > >>>> Now,I have to use HBase in my map and reduce functions, but I > >>>> don't know how to use. I have seen the examples in the FQA and > >>>> org.apache.hadoop.hbase. ,but I can't run it successfully. Can you > >>>> give me some simple examples make me manipulate HBase using java api > >>>> in my map and reduce functions as soon as possible. Thank you very > >>>> much! > >>>> > >>>> > >>>> Qiang Ma > >>>> Department of Computer Science and Engineering > >>>> Fudan University > >>>> Shanghai, P. R. China > >>>> EMail: maqiang1984@gmail.com > >>> > >>> _________________________________________________________________ > >>> Share life as it happens with the new Windows Live. > >>> http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 > >> > >> _________________________________________________________________ > >> Get the power of Windows + Web with the new Windows Live. > >> http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008 > > _________________________________________________________________ > Get the power of Windows + Web with the new Windows Live. > http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008