Loading links after a map phase in a map reduce query

Jan Metzner jan.metzner at gmail.com
Thu Oct 7 11:00:59 EDT 2010


Patching the java client did the job.
For anyone who is interesed in the patch here are the links:
http://github.com/jmetzner/riak-java-client/commit/61aa7df0a7314a673ca999918f286a39108ad2d7
http://github.com/jmetzner/riak-java-client/commit/2910f6f39479866bb7d0e7065257f268a7af35dc

Jan

2010/10/7 Sean Cribbs <sean at basho.com>:
> 300,000 links is probably too large (at least for HTTP).  At that scale, I
> would consider building tree-like structure where target objects are only
> linked off of the leaves of the tree.
> Sean Cribbs <sean at basho.com>
> Developer Advocate
> Basho Technologies, Inc.
> http://basho.com/
> On Oct 7, 2010, at 9:06 AM, Robin Edwards wrote:
>
> What is the hard limit on links, through the REST API?
>
> Would it be possible to have an object with say 300,000 links?
>
> Or is this a terrible idea,
>
> R
>
> On 7 October 2010 13:50, Jan Metzner <jan.metzner at gmail.com> wrote:
>>
>> Hi folks,
>>
>> i am experimenting with riak and have a problem with too many links in a
>> riak object.
>> If i store the object the server send 400 Bad Request. This is caused from
>> the link header which is too long.
>> As workaround i thought about storing the links inside the riak object and
>> fetch them in a map reduce query.
>> Is it possible to do a link phase after a map phase in riak and if so has
>> somebody an example for this?
>>
>> Thanks and regards
>> Jan
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>




More information about the riak-users mailing list