Question

I am using the Redis server from the link : http://cloud.github.com/downloads/rgl/redis/redis-2.4.6-setup-64-bit.exe with R version3.0.3, doRedis 1.1.0, rredis 1.6.8

The Redis worker end immediately after receiving jobs

> redisWorker('jobs')
Waiting for doRedis jobs.
Processing task for job  2  from queue  jobs 
Error in doTryCatch(return(expr), name, parentenv, handler) : 
ERR unknown command 'EVAL'

But with the Redis server from the link : https://github.com/MSOpenTech/redis and with Redis server build from source on cygwin,

The worker seems to be able to process job, but the master receive error

> redisWorker('jobs')
Waiting for doRedis jobs.
Processing task for job  9  from queue  jobs 
Processing task 1 ... from queue jobs jobID 9 
Processing task for job  9  from queue  jobs 
Processing task 2 ... from queue jobs jobID 9 
Processing task for job  9  from queue  jobs 
Processing task 3 ... from queue jobs jobID 9 

> registerDoRedis('jobs')
> foreach(i = 1:3)%dopar%i
Error in i : task 1 failed - "object '.doRedisGlobals' not found"
Was it helpful?

Solution

I reported this issue to Bryan Lewis, the author of the doRedis and rredis packages. He replied that he is working to resolve the problem and will update the package on CRAN when it is fixed. In the meantime, you could downgrade to doRedis version 1.0.5 which doesn't have this problem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top