Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 97594 invoked from network); 15 Dec 2009 19:53:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Dec 2009 19:53:49 -0000 Received: (qmail 55523 invoked by uid 500); 15 Dec 2009 19:53:48 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 55465 invoked by uid 500); 15 Dec 2009 19:53:48 -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 55271 invoked by uid 99); 15 Dec 2009 19:53:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 19:53:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yuzhihong@gmail.com designates 209.85.160.50 as permitted sender) Received: from [209.85.160.50] (HELO mail-pw0-f50.google.com) (209.85.160.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 19:53:39 +0000 Received: by pwi20 with SMTP id 20so153281pwi.29 for ; Tue, 15 Dec 2009 11:53:18 -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 :date:message-id:subject:from:to:content-type; bh=iFf2nPAp9KJP1C6ZH8PS2dEcAXmQdqQraKnnVZ0b6/w=; b=BRtP4s3SJsRYpUAiDsSroSAjwFS+b+r8s6U+QRdW2kbhytDSiXyn6KVHJ2/YdjZnoJ ogHL9pIaGJL5hQlrF0JvfG6aXtV452ZipKKAAbEc/cKF65kftdOYSmsa5wJA9uugGl0l dISEUF8UYicqDPkcfj9+f4GZEf2wJVp3RBVZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dE7eKeZb/jEeGPYKV16t+NQlewj6ocI3qB2vtsCZMYk9ycwCQLTDNo7T9BZPXg8UiI lTT65aC6ohUj/s+iDAUFFciT2F7KHMnnnLK1GIi7bHIuNg/XQyn7Q4kV6z889JfKXaC1 7cehFakZpDJKdZNoDXpafn4xGc7f2N7l4bd8E= MIME-Version: 1.0 Received: by 10.142.61.23 with SMTP id j23mr680275wfa.299.1260906798173; Tue, 15 Dec 2009 11:53:18 -0800 (PST) In-Reply-To: <7c962aed0912142216u60bcfea9q5548ef42bfc2dc2a@mail.gmail.com> References: <654334668EE9E441AD8636601ED697140FF9EAB0@BL2PRD0102MB009.prod.exchangelabs.com> <7c962aed0912142216u60bcfea9q5548ef42bfc2dc2a@mail.gmail.com> Date: Tue, 15 Dec 2009 11:53:18 -0800 Message-ID: <17e273100912151153k2cefc3dfme758e82675d7fb47@mail.gmail.com> Subject: Re: Help on HBase shell alter command usage From: Ted Yu To: hbase-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001636e1f73dcccf7b047ac9bdf4 X-Virus-Checked: Checked by ClamAV on apache.org --001636e1f73dcccf7b047ac9bdf4 Content-Type: text/plain; charset=ISO-8859-1 Hi, I saw the following from scan 'crawltable' command in hbase shell: ... com.onsoft.www:http/ column=stt:, timestamp=1260405530801, value=\003 3 row(s) in 0.2490 seconds How do I query the value for stt column ? hbase(main):005:0> get 'crawltable', 'com.onsoft.www:http/', { column='stt:' } SyntaxError: (hbase):6: odd number list for Hash. from (hbase):6 Can someone explain this 'odd number' error ? Thanks On Mon, Dec 14, 2009 at 10:16 PM, stack wrote: > Are you using hbase 0.20? If so, there is no 'compress'. Its NONE, LZO, > or > GZIP (You'll have to build lzo yourself. See hbase wiki for how). > > See the shell help. It has examples of how to change parameters on column > families. > > St.Ack > > 2009/12/14 Xin Jing > > > Hi all, > > > > I want to change the column family property for a existing hbase table. > > Setting one comlumn family COMPRESSION from 'none' to comress, and chagne > > one column family IN_MEMORY from 'false' to 'true'. > > > > I want to use hbase shell to achieve that, but I cannot find the detailed > > description on 'alter' command. Could anyone point me to a reference on > > that? > > > > Thanks > > - Xin > > > --001636e1f73dcccf7b047ac9bdf4--