Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 49132 invoked from network); 2 Nov 2007 00:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 00:47:17 -0000 Received: (qmail 8814 invoked by uid 500); 2 Nov 2007 00:47:04 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 8786 invoked by uid 500); 2 Nov 2007 00:47:04 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 8777 invoked by uid 99); 2 Nov 2007 00:47:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 17:47:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 00:47:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4301571422B for ; Thu, 1 Nov 2007 17:46:56 -0700 (PDT) Message-ID: <21730103.1193964416272.JavaMail.jira@brutus> Date: Thu, 1 Nov 2007 17:46:56 -0700 (PDT) From: "stack (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1608) [Hbase Shell] Relational Algrebra Operators In-Reply-To: <30939913.1184326504508.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1608?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539494 ]=20 stack commented on HADOOP-1608: ------------------------------- Edward: I'm having some difficulty following the model Edward particularly when the= re is a dearth of javadoc (You should at a minumum provide documentation of= interfaces). For example, the Operation interface has a getRelationalOperation method; R= elationalOperation implements Operation. I would think the getRelationalOp= eration belongs in RelationalOperation or calling since RelationalOperation= implements Operation, calling getOperation when the implemenation is a Rel= ationalOperation, then you'd get back a RelationalOperation? Do these mapreduce jobs work in a cluster of multiple machines? > [Hbase Shell] Relational Algrebra Operators > ------------------------------------------- > > Key: HADOOP-1608 > URL: https://issues.apache.org/jira/browse/HADOOP-1608 > Project: Hadoop > Issue Type: Improvement > Components: contrib/hbase > Affects Versions: 0.14.1 > Environment: All environments=20 > Reporter: Edward Yoon > Priority: Minor > Fix For: 0.16.0 > > Attachments: patch_v01.txt, patch_v02.txt, patch_v03.txt, patch_v= 04.txt, patch_v05.txt, patch_v06.txt, patch_v07.txt, patch_v08.txt, patch_v= 09.txt, patch_v10.txt, patch_v11.txt, patch_v12.txt, patch_v13.txt, patch_v= 14.txt > > > Development of relational algebra operators has begun. > * Projection=20 > ** selects a subset of the columnfamilies of a relation =20 > ** Result =3D =CF=80 ~column_list~ (Relation)=20 > {code} > Hbase > Result =3D Relation.Projection('year','legnth'); > Hbase > save Result into table('result'); > {code} > * Selection > ** See : HADOOP-2003 issue's description > {code} > Hbase > Result =3D Relation.Selection(length > 100 and studioName =3D 'Fo= x');=20 > Hbase > save Result into table('result'); > {code} > * Group > ** more details about 'GROUP' operation will be handled in HADOOP-1658 = issue.=20 > * =CE=B8 Join > ** The join of two relations R1(A ~1~,A ~2~,...,A ~n~) and R2(B ~1~,B ~2= ~,...,B ~m~) is a relation with degree k=3Dn+m and attributes (A ~1~,A ~2~,= ...,A ~n~, B ~1~,B ~2~,...,B ~m~) that satisfy the join condition > {code} > Hbase > R1 =3D table('movieLog_table'); > Hbase > R2 =3D table('personInfo_table'); > Hbase > Result =3D R1.join(R1.producer: =3D R2.ROW) and R2;=20 > or Result =3D R1.join(R1.actor:hero =3D R2.Row) and R2; > or Result =3D R1.join(R1.actor:hero =3D R2.Row and R1.studioName =3D= 'Fox' and R2.occupation =3D 'singer'); > {code} --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.