hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Got some question for begin HBase (KeyValue, data structure)
Date Mon, 10 May 2010 17:15:48 GMT
Inline.

J-D

> 1. How can i get the key name for KeyValue? I
> use Bytes.toString(KeyValue.getKey()) cannot got any return.

The javadoc of this method says: * Do not use unless you have to.
Used internally for compacting and testing.

The row key is given by
http://hadoop.apache.org/hbase/docs/r0.20.4/api/org/apache/hadoop/hbase/client/Result.html#getRow()

> 2. Usually what value are u set for rowid?

UUIDs or composite keys like timestamp+some_other_tags

> 3. How are you deploy the data structure from development server to
> production server?

Copy over the DDL used in the shell.

>
> I think i need some information or document for how to design the data
> structure on HBase. can you share for me?

Google's Bigtable paper is always a good resource. The wiki has some
tips (check the website). Else you can search this mailing list WRT
your specific data model, you'll probably find what you need.

>
> Thanks & Regards,
> Singo
>

Mime
View raw message