basho-labs/riak-js — pull request #10 by spencergibb (2012-11-09 22:34:46+00:00)
Title: Mapreduce options fix

HttpMapReduceClient is not using the options sent when creating the client.

var db = require('riak-js').getClient({host: "riak.myhost", port: "8098"});

Therefore, http requests for mapreduce were sent to localhost, when a different host was configured resulting in connection refused errors.