Hey Ravi,
Seems I find what problem was: when I communicate with stargate I not set
Accept header to application/json. It was octet-stream and according to
documentation it can only give one value.

Thanks.


On Wed, Aug 28, 2013 at 8:46 AM, Dmitriy Troyan <[email protected]>wrote:

> Please excuse my inattention. I made mistake in my query, it need to be
> like this
>
> http://myhost:8080/updaterlog/12345/data:log/0,1377598680245/?v=100
>
> In my message I didn't write row name in query (12345).
>
> *But still I have the same problem - only one row return from stargate.*
>
> Thanks.
>
>
>
> On Wed, Aug 28, 2013 at 8:37 AM, Dmitriy Troyan 
> <[email protected]>wrote:
>
>> Hi, Ravi
>> This is my schema:
>>
>> { NAME=> 'updaterlog', IS_META => 'false', IS_ROOT => 'false', COLUMNS => [ 
>> { NAME => 'data', BLOCKSIZE => '65536', BLOOMFILTER => 'NONE', MIN_VERSIONS 
>> => '0', KEEP_DELETED_CELLS => 'false', ENCODE_ON_DISK => 'true', BLOCKCACHE 
>> => 'true', COMPRESSION => 'NONE', VERSIONS => '100', REPLICATION_SCOPE => 
>> '0', TTL => '2147483647', DATA_BLOCK_ENCODING => 'NONE', IN_MEMORY => 
>> 'false' } ] }
>>
>> This is another table but result of query like 
>> <http://myhost.com:8080/updaterlog/data:get/0,1377633354/?v=10 
>> <http://myhost.com:8080/log/data:get/0,1377633354/?v=10>> is same - always 
>> the only one result.
>>
>> This is the result in hbase shell (maybe it help to understand this 
>> problem): http://img843.imageshack.us/i/rx0g.png/
>>
>> Thanks
>>
>>
>>
>>
>> On Wed, Aug 28, 2013 at 7:45 AM, Ravi Kiran <[email protected]>wrote:
>>
>>> Hi ,
>>>     Can you please query for the schema of the table and show us here.
>>> Would like to know what is value for VERSIONS that you have set for the
>>> column family .  I hope you have set it to 10.
>>>
>>> Ex:http://myhost.com:8080/log/schema<
>>> http://myhost.com:8080/log/data:get/0,1377633354/?v=10>
>>>
>>>
>>> Regards
>>> Ravi Magham
>>>
>>>
>>> On Wed, Aug 28, 2013 at 1:29 AM, Dmitriy Troyan <
>>> [email protected]>wrote:
>>>
>>> > Hey all,
>>> >
>>> > I try to use multi get for receiving different versions of row but it
>>> give
>>> > me only one always. For example I have table log, and column family
>>> > data:get. I put a lot of versions of row/data:log. Now I try to get all
>>> > versions of this key.
>>> >
>>> > As it said in manual http://wiki.apache.org/hadoop/Hbase/Stargate(Cell or
>>> > Row Query (Multiple Values)): using browser for request
>>> > http://myhost.com:8080/log/data:get/0,1377633354/?v=10
>>> >
>>> > The response contain only one version of a key instid of give me all
>>> (max
>>> > 10) available versions of a key.
>>> >
>>> > I break my brain on this problem. Please reffer me to right way.
>>> >
>>> > Thanks!
>>> >
>>>
>>
>>
>

Reply via email to