hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reggie Lai <tc...@yahoo-inc.com>
Subject Re: [Stargate] Cell Store Operation
Date Thu, 28 Jan 2010 04:27:48 GMT
## Schema in JSON:
{"name":"hbase_test","IS_META":"false","IS_ROOT":"false","ColumnSchema":[{"n
ame":"score","BLOCKSIZE":"65536","BLOOMFILTER":"false","BLOCKCACHE":"true","
COMPRESSION":"NONE","VERSIONS":"3","TTL":"2147483647","IN_MEMORY":"false"}]}

## Row file in JSON:
{"Row":[{"key":"Y2xheQ==","Cell":[{"column":"c2NvcmU6","$":"NzM="}]}]}

## CURL command:
curl -d @[row_file] -H "Content-type: application/JSON"
"[servlet_url]/hbase_test/clay/score"

Thanks,

On 1/28/10 12:38 AM, "Greg Lu" <greg@openplaces.org> wrote:

> Can you show us the table schema and curl command you're using?
> 
> Sent from my iPhone
> - Greg
> 
> On Jan 27, 2010, at 6:28 AM, Reggie Lai <tclai@yahoo-inc.com> wrote:
> 
>> Hi,
>> 
>> I'm trying out the RESTful front end for Hbase. When I try to do
>> cell store
>> with command line CURL, the data successfully stored but error
>> message shown
>> as the following:
>> 
>> [...] 
>> org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException:
>> Column family xxx does not exist in region [...]
>> 
>> It seems there're quite a few people having hard time on this, too:
>> http://stackoverflow.com/questions/2135692/how-to-insert-data-into-hbase-tab
>> les-using-php-stargate-client
>> 
>> Any idea?
>> 
>> Thanks,
>> Reggie
>> 
> 


Mime
View raw message