Return-Path: Delivered-To: apmail-hadoop-core-commits-archive@www.apache.org Received: (qmail 32888 invoked from network); 10 Feb 2008 03:06:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2008 03:06:25 -0000 Received: (qmail 72080 invoked by uid 500); 10 Feb 2008 03:06:18 -0000 Delivered-To: apmail-hadoop-core-commits-archive@hadoop.apache.org Received: (qmail 72047 invoked by uid 500); 10 Feb 2008 03:06:18 -0000 Mailing-List: contact core-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-commits@hadoop.apache.org Received: (qmail 72038 invoked by uid 99); 10 Feb 2008 03:06:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2008 19:06:18 -0800 X-ASF-Spam-Status: No, hits=-2000.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; Sun, 10 Feb 2008 03:05:41 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 16AF3D2DB for ; Sun, 10 Feb 2008 03:06:02 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: core-commits@hadoop.apache.org Date: Sun, 10 Feb 2008 03:06:01 -0000 Message-ID: <20080210030601.18516.11134@eos.apache.org> Subject: [Hadoop Wiki] Trivial Update of "Hbase/HbaseShell/HQL" 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 "Hadoop Wiki" for change notification. The following page has been changed by udanax: http://wiki.apache.org/hadoop/Hbase/HbaseShell/HQL ------------------------------------------------------------------------------ CASE 2 : - rs = hql.executeQuery("@ 'hdfs://app_name/install_hbase_db.txt';"); + rs = hql.executeQuery("@ './install_db.txt';"); - if(rs == ok) - ... }}} ''A file of data definition shouldn't be called a 'query file' -- and why can't the file just as easily load data? Can you think of something else to call it? And its possible to do "$ cat DATA_DEFINITION_FILE|./bin/hbase shell" to get the same effect? St.Ack'' @@ -98, +96 @@ ==== Applications ==== {{{ map { - rs = hql.executeQuery("select filePath: from tbl_name where row='" + rowKey + "'" + rs = hql.executeQuery("select filePath: from tbl_name where row='" + row + "'" + "and column='column:forTmpTable';"); hql.executeQuery("load data file '" + rs.result() + "' into tmpTable;"); }