Hi Malka,

I'm assuming your cluster was already running and then you modified
add_paths?  If so, unfortunately, the change will not take hold until the
nodes are restarted.  However, if you cannot afford a restart then there is
another option--attach to the Erlang shell and add the path yourself.

riak attach
1> code:add_path("/path/to/ebin").

You'll have to do this for each node in the cluster.

This makes me wonder...would it be beneficial to add a command to riak-admin
that can interrogate add_paths and add any new paths (and perhaps even
reload modules that have changed)?

-Ryan

On Mon, Mar 7, 2011 at 6:05 AM, Malka Feldman <[email protected]> wrote:

> Hi,
> I try to add my module with my function for mapreduce,
> I add the path and the  add_paths parameter to app.config but it seems that
> my module is not known.
> What do I have to do for reload it?
>
> Thanks,
> *Malka *
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to