undifend error for js modules

Mathias Meyer mathias at basho.com
Thu May 19 12:26:42 EDT 2011


the most likely reason is that the JavaScript file is not properly accessible to Riak on some of the nodes in your cluster.

Have you checked that the file is properly distributed throughout the cluster and js_source_dir is set accordingly, and Riak is restarted on all nodes?

Mathias Meyer
Developer Advocate, Basho Technologies

On Donnerstag, 19. Mai 2011 at 08:21, Malka Feldman wrote: 
> Hi,
> I have some modules with js functions for named MR.
> But for some keys, I get the message that my module is undefined:
> {"lineno":1,"message":"ReferenceError: GetTotal is not defined","source":"unknown"} 
> If it's defined for some keys why it's not for the others (although they have same values)?
> Thanks,
> Malka Feldman 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

More information about the riak-users mailing list