RE: Installing a custom hash function

2013-04-26 Thread Simon Fell
Fell Cc: riak-users Users Subject: Re: Installing a custom hash function Hey Simon, The badarg exception means that it can't convert your string to an atom because the 'sfdc_hash' atom is not previously used. Most likely this is because your .beam file is in the path but

Re: Installing a custom hash function

2013-04-25 Thread Olav Frengstad
Hey Simon, The badarg exception means that it can't convert your string to an atom because the 'sfdc_hash' atom is not previously used. Most likely this is because your .beam file is in the path but not loaded, meaning list_to_existing_binary/1 will until you load the file in an alternative way.

Installing a custom hash function

2013-04-24 Thread Simon Fell
I'm following the instructions at http://docs.basho.com/riak/1.2.0/cookbooks/Erlang-Named-Functions/ to setup a custom hash function, how safe or not is it to assume its the same process ? Currently when i try and PUT the bucket config to specify the new function i get back {error,badarg,