load erlang module

Christopher LILJENSTOLPE cdl at asgaard.org
Mon Mar 7 15:45:07 EST 2011


Yes, that feature would be useful

Chris

--
Pardon the typos - sent from a silly keyboard

On 07/03/2011, at 9:31, Ryan Zezeski <rzezeski at gmail.com> wrote:

> 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 <malkaf at 3basegroup.com> 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
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110307/e19b8ea8/attachment.html>


More information about the riak-users mailing list