exception using jredisPipeline

4 views
Skip to first unread message

rahul_kcle

unread,
Aug 3, 2010, 5:43:54 PM8/3/10
to JRedis
Can any one tell me what might be the reason for this exception

on pendingResponse.get()
at
org.jredis.ri.alphazero.connection.SynchPipelineConnection.serviceRequest(SynchPipelineConnection.java:
92)
at
org.jredis.ri.alphazero.JRedisPipelineService.serviceRequest(JRedisPipelineService.java:
96)
at
org.jredis.ri.alphazero.JRedisSupport.mget(JRedisSupport.java:983)
at
com.kaboodle.core.cache.impl.JredisCacheServiceImpl.mget(JredisCacheServiceImpl.java:
133)
Caused by: java.util.concurrent.ExecutionException: Provider Exception
at
org.jredis.ri.alphazero.connection.PendingRequest.checkStatus(PendingRequest.java:
112)
at
org.jredis.ri.alphazero.connection.PendingRequest.get(PendingRequest.java:
134)
at
org.jredis.ri.alphazero.connection.PendingRequest.get(PendingRequest.java:
26)
at
org.jredis.ri.alphazero.connection.SynchPipelineConnection.serviceRequest(SynchPipelineConnection.java:
80)
... 67 more
Caused by: org.jredis.ProviderException: Bug? Expecting status code
for size/count
at org.jredis.ri.alphazero.protocol.SynchProtocol
$SynchMultiLineResponseBase.readControlLine(SynchProtocol.java:410)
at org.jredis.ri.alphazero.protocol.SynchProtocol
$SynchMultiBulkResponse.read(SynchProtocol.java:544)
at org.jredis.ri.alphazero.connection.PipelineConnectionBase
$ResponseHandler.run(PipelineConnectionBase.java:230)
... 1 more

Joubin Houshyar

unread,
Aug 5, 2010, 4:41:37 PM8/5/10
to JRedis
Hi,

You're most likely using the wrong version of JRedis with Redis. Each
JRedis branch (1.2.n or master) has aredis_version_compliance.txt in
the project folder. This shows the version of Redis that the branch
has been built and tested against. I do not commit if any test fails
to pass.

Master branch is 1.3.8 compliant and tested. Some features are
missing.
1.2.n brach is 1.2.n compliant and tested.

If you believe you are using the correct version of JRedis and Redis,
then you can report the bug in the github issues page. Please
indicate the version of JRedis/Redis you are using.

/R

vishnu

unread,
Aug 5, 2010, 5:21:15 PM8/5/10
to jre...@googlegroups.com
I am using redis 1.2.6.

I looked at the compliance text it says  tested with redis 1.2.6. This is the Jredis alphazero-jredis-e5a8a76  i am using.

The particular exception is happening when we are doing large number of sets and trying to read in parallel from difference pipelineService


Thanks,
Vishnu.


--
You received this message because you are subscribed to the Google Groups "JRedis" group.
To post to this group, send email to jre...@googlegroups.com.
To unsubscribe from this group, send email to jredis+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jredis?hl=en.


sun...@gmail.com

unread,
Aug 5, 2010, 5:36:22 PM8/5/10
to jre...@googlegroups.com
Explain the "parallel pipeline" use-case please.

Sent via BlackBerry from T-Mobile


From: vishnu <vishnu...@gmail.com>
Date: Thu, 5 Aug 2010 14:21:15 -0700
Subject: Re: exception using jredisPipeline

vishnu

unread,
Aug 5, 2010, 5:57:54 PM8/5/10
to jre...@googlegroups.com
one pipelineservice is setting the values and other pipelineservice is trying to read data.

Thanks.

sun...@gmail.com

unread,
Aug 5, 2010, 7:36:34 PM8/5/10
to jre...@googlegroups.com
Don't have access to net right now so not sure if that's the 1.2.6 head. Pull it if it is not and let me know how it goes. If problem remains, I'll need a stub as close as possible to your use case to debug the issue.

And please use the issue tracker in github.

Sent via BlackBerry from T-Mobile


From: vishnu <vishnu...@gmail.com>
Date: Thu, 5 Aug 2010 14:57:54 -0700

vishnu

unread,
Aug 5, 2010, 7:48:55 PM8/5/10
to jre...@googlegroups.com
you mean redis 1.2.6.  yes its redis 1.2.6 head. We have been using this for last couple of months. we are seeing this issue from last one week when we wrote a scheduler to load data in to redis on aa separate thread.

Thanks.

sun...@gmail.com

unread,
Aug 5, 2010, 7:59:07 PM8/5/10
to jre...@googlegroups.com
No, I mean JRedis 1.2.n branch. Pull that.

Sent via BlackBerry from T-Mobile


From: vishnu <vishnu...@gmail.com>
Date: Thu, 5 Aug 2010 16:48:55 -0700

vishnu

unread,
Aug 5, 2010, 8:40:21 PM8/5/10
to jre...@googlegroups.com
I am using the jar from this link


Thanks,
Vishnu.
Reply all
Reply to author
Forward
0 new messages