Re: Oracle schema to HBase

2011-01-16 Thread Ted Yu
I meant compression method for the table. You should be able see this config viewing your table with master.jsp. E.g. COMPRESSION => 'GZ' 2011/1/16 > I didn't do anything about compression in HBase configure. > So you mean I can keep oracle schema in hbase with a compression method, > right? > >

Re: Oracle schema to HBase

2011-01-16 Thread hmchiud
I didn't do anything about compression in HBase configure. So you mean I can keep oracle schema in hbase with a compression method, right? Fleming Chiu(邱宏明) Ext: 707-2260 Be Veg, Go Green, Save the Planet!

Re: decoding types within the hbase shell

2011-01-16 Thread Ted Yu
Some code from Andrey: ## function converts any value to bytes (using Bytes class methods) def toBytes(val) String.from_java_bytes(Bytes. toBytes(val)) end ## example analog of the "select * from where key" def fetch(table, id, args = {}) key = Writables.getBytes(BsnId.new(id)) print Byte

Re: Oracle schema to HBase

2011-01-16 Thread Ted Yu
Which compression method did you use for your hbase table ? Thanks 2011/1/16 > Hi, > I want to put a table of data from RDBM to HBase. > Key is the same both in RDBMS and HBase, but I wonder how to put these > columns data. > All put in a cell with json format or keep it like RDBMS table's colu

Oracle schema to HBase

2011-01-16 Thread hmchiud
Hi, I want to put a table of data from RDBM to HBase. Key is the same both in RDBMS and HBase, but I wonder how to put these columns data. All put in a cell with json format or keep it like RDBMS table's columns? Put in Json format, it will impact the ETL when a column's data changed, It needs to k

decoding types within the hbase shell

2011-01-16 Thread Max Garfinkel
Hi All, I think this is a stupid question but I cant seem to find an answer one way or the other anywhere else so here goes. Is it possible to decode the values stored in columns to something other than string when performing a scan using the hbase shell? To be really clear I have a table con

Re: HTable.put(List puts) perform batch insert?

2011-01-16 Thread Otis Gospodnetic
Hi, Re HBaseHUT - Alex didn't mention it, but he did a really nice and clear writeup of it in this post: http://blog.sematext.com/2010/12/16/deferring-processing-updates-to-increase-hbase-write-performance/ Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem se