Return-Path: Delivered-To: apmail-lucene-hadoop-commits-archive@locus.apache.org Received: (qmail 91435 invoked from network); 19 Sep 2007 06:04:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2007 06:04:27 -0000 Received: (qmail 20121 invoked by uid 500); 19 Sep 2007 06:04:18 -0000 Delivered-To: apmail-lucene-hadoop-commits-archive@lucene.apache.org Received: (qmail 20092 invoked by uid 500); 19 Sep 2007 06:04:18 -0000 Mailing-List: contact hadoop-commits-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-commits@lucene.apache.org Received: (qmail 20083 invoked by uid 99); 19 Sep 2007 06:04:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 23:04:18 -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.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 06:04:26 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 42D2359A07 for ; Wed, 19 Sep 2007 06:04:06 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: hadoop-commits@lucene.apache.org Date: Wed, 19 Sep 2007 06:04:06 -0000 Message-ID: <20070919060406.6312.98469@eos.apache.org> Subject: [Lucene-hadoop Wiki] Trivial Update of "Hbase/HbaseShell" by udanax X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by udanax: http://wiki.apache.org/lucene-hadoop/Hbase/HbaseShell The comment on the change is: Deleting comment. See the "ShellPlans" page. ------------------------------------------------------------------------------ = Comments = Please add comments related to the project below. - ---- - Commented by [:udanax: Edward yoon] 2007/09/18 - '''Case 1 : My initial style''' - - {{{ - Hbase > A = table('movieLog_table'); - Hbase > B = A.Group('length', 'vote'); - Hbase > Store B to table('m_table'); - }}} - - '''Case 2 : SQL style''' - - {{{ - Hbase > CREATE TABLE m_table ('vote'); - Hbase > INSERT INTO m_table ('vote') - --> SELECT * FROM - --> (SELECT - --> length, vote - --> FROM movieLog_table - --> GROUP BY length) - --> ORDER BY 1; - }}} - - In either case, return the same results. (It's a simple example.) - - '''m_table : ''' - - {{{ - Row Columnfamilies - ------------ ---------------------------------- - length vote ... - ------------ ------------------- ---------- - 0112 vote:user2 1 ... - vote:user4 5 - 0124 vote:user3 3 - 0125 vote:user3 1 - 0131 vote:user1 2 - vote:user4 4 - ... - }}} - - The expected matrix A of (length by User) would be as sampled below : - [[BR]]Note : Cell data is an aggregate value of voting. - - {{{ - Vote:user1 vote:user2 vote:user3 vote:user4 - ---------- ---------- ---------- ---------- ---------- - 0112 1 5 - 0124 3 - 0125 1 - 0131 2 4 - }}} - - Now, you want the analysis to find an unknown pattern between length and user? - - {{{ - Hbase > we can just use the matrix operations. - }}} - - '''So, Here's my questions.''' - - * What is a better syntax for Multi-dimensional Algebraic Operations commands? - * I don't think Sub-Shell(Separated Altools) is good. How think about it? - * Should i attempt to imitate SQL? I think it may be more difficult than we expected. - - Any comments are welcomed. - [[BR]]Thank you. -