Open sajal opened 12 years ago
Would like to add... that i can run this mapreduce with inline output on the slave using the mongo console directly without any issues.
Mongolian doesn't support slave servers yet, so right now your only option would be to hack the Mongolian source.
Aha thanks... it turns out that my map-reduce job was taking hours to finish cause amazon throttles down micro instances big time, even when run from the mongo shell. So for now im doing my processing client side using python.
Im trying Master/Slave replication for something. My goal is to use the slave only for mapreduce tasks, get the results inline and then store it into the master.
My full code is given below. When i use master for both serverm and servers , then it works, but if u use mapreduce on the slave server in servers, i get following error :-
AFAIK mongo will allow you to run mapreduce on slave as long as the output is inline and setSlaveOk() is set. How do i set that using mongolian?
in the code below, dbs does not have a method getMongo()