Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 58491 invoked from network); 6 Dec 2010 11:38:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Dec 2010 11:38:27 -0000 Received: (qmail 44629 invoked by uid 500); 6 Dec 2010 11:38:26 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 44619 invoked by uid 500); 6 Dec 2010 11:38:26 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 44611 invoked by uid 99); 6 Dec 2010 11:38:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 11:38:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of amansk@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-wy0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 11:38:18 +0000 Received: by wyj26 with SMTP id 26so4764629wyj.14 for ; Mon, 06 Dec 2010 03:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:references:from:in-reply-to :mime-version:date:message-id:subject:to:content-type; bh=u9s+OH+KoWug+nPYMzJMfYO0il0OdkBvpPYOA8h7Bgc=; b=e0+YKdksNaggzHIYSUpsEYQdVV2W2PNgVXdEIa4+73Pn4a+fe9RbdR3PAphE3LMVQN 2g1nXTSxXbLrtYd81KzoJWD/NqqALTYA+UqQKU3lLFHYJvtl0oK3c456aHvOY1FRYEh2 8/No5ngIYCDvgnPVXyoOt4oxOQT3DLxrbdPlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type; b=GWmIGzZoB4yQA2785FLLMgZt2N46DJOSpf8r9M6SSpJWyn65piqMI7K8TmeEKqWaYf IQa/gTsQT2wfyHvyXtteKHrGSyX5ZERBA9ybPxk8GcGWQpglS7TPcJY6/85CDvfs4ElX xjJ9VlYPcnIxXz3L5vABnj7MQBVcUBiPxzbl8= Received: by 10.216.15.20 with SMTP id e20mr4782711wee.8.1291635477882; Mon, 06 Dec 2010 03:37:57 -0800 (PST) References: From: Amandeep Khurana In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8B117) Date: Mon, 6 Dec 2010 12:36:36 +0100 Message-ID: <-1812193278828143072@unknownmsgid> Subject: Re: Error while creating a table with compression enabled To: "user@hbase.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Seems like it. Let me try the patch. -AK On Dec 6, 2010, at 12:36 PM, Lars George wrote: > Hi AK, > > This issue? https://issues.apache.org/jira/browse/HBASE-3310 > > Lars > > > On Mon, Dec 6, 2010 at 9:17 AM, Amandeep Khurana wrote: >> The command I'm running on the shell: >> >> create 'table', {NAME=>'fam', COMPRESSION=>'GZ'} >> >> or >> >> create 'table', {NAME=>'fam', COMPRESSION=>'LZO'} >> >> >> Here's the error: >> >> ERROR: cannot convert instance of class org.jruby.RubyString to class >> org.apache.hadoop.hbase.io.hfile.Compression$Algorithm >> >> >> Any idea what could be causing this? Where do I look? >> >> >> -ak >>