Re: multiple data versions vs. multiple rows?

2015-01-20 Thread yonghu
I think we need to take a look different situations. 1. One column gets frequently updated and the others not. If we use row representation, we will include the unchanged data value for each tuple. This may cause a large data redundancy. So, I think it can explain why in my test the multiple data

Low-latency queries, HBase exclusively or should I go, e.g.: MongoDB?

2015-01-20 Thread Alec Taylor
I am architecting a platform incorporating: recommender systems, information retrieval (ML), sequence mining, and Natural Language Processing. Additionally I have the generic CRUD and authentication components, with everything exposed RESTfully. For the storage layer(s), there are a few options

Re: IllegalArgumentException: Connection is null or closed when calling HConnection.getTable()

2015-01-20 Thread Calvin Lei
Hi Nick, the HConnection is unmanaged and we cache it for the lifetime of the application until it shuts down. I am not calling HConnection.close anywhere in my code except for the shutdown hook. On Mon, Jan 19, 2015 at 7:39 PM, Nick Dimiduk ndimi...@gmail.com wrote: Hi Calvin, An

[HBase Restful] How to get a composite RowKey: StringInteger

2015-01-20 Thread anil gupta
Hi, I want to fetch a row from hbase rest client. Composite Rowkey is: StringInteger This is how the rowkey looks on hbase shell: ABCDEF\x00\x00\x00\x00\x01 I tried to do this request: hostname:8080/TABLE/ABCDEF%2Fx00%2Fx00%2Fx00%2F x00%2Fx01 Is it possible to get the this kind of row from

Re: Given a Put object, is there any way to change the timestamp of it?

2015-01-20 Thread Ted Yu
bq. I have no way to get ALL its cells out Mutation has the following method: public NavigableMapbyte [], ListCell getFamilyCellMap() { FYI On Tue, Jan 20, 2015 at 5:43 PM, Liu, Ming (HPIT-GADSC) ming.l...@hp.com wrote: Hello, there, I am developing a coprocessor under HBase 0.98.6. The

Given a Put object, is there any way to change the timestamp of it?

2015-01-20 Thread Liu, Ming (HPIT-GADSC)
Hello, there, I am developing a coprocessor under HBase 0.98.6. The client send a Put object to the coprocessor in Protobuf, when the coprocessor receive the message , it invokes ProtobufUtil.toPut to convert it to a Put object. Do various checking and then put it into HBase table. Now, I get

Re: Does 'online region merge' make regions unavailable for some time?

2015-01-20 Thread Otis Gospodnetic
Hi, Considering this is called the *online* region merge, I would assume regions being merged never go offline during the merge and both regions being merged are available for reading and writing at all times, even during the merge though I don't get how writes would work if one region is