Hmmm, that's interesting. I don't quite understand why it works, but it's a step in the right direction. It surprises me that there isn't an easy way to invoke an external script from within a job.
-- jeffrey k eliasen Find and follow me on: Blog: http://jeff.jke.net Twitter: http://twitter.com/jeffreyeliasen Facebook: http://facebook.com/jeffrey.eliasen On Sep 26, 2013, at 17:41 , Russell Brown <[email protected]> wrote: > Not that it is something that answers your immediate need, I just thought I'd > point you at this post where Brian Lee Yung Rowe attempts to integrate Riak > MapReduce and R. > > http://cartesianfaith.com/2011/08/17/teaser-running-r-as-a-mapreduce-job-from-riak/ > > On 26 Sep 2013, at 05:33, jeffrey k eliasen <[email protected]> wrote: > >> I'm trying to do some image processing using OpenCV. Later I'll be doing >> some video processing as well. In a future project I will be using R to do >> deep analysis on some data I'm collecting. In all these cases, what I want >> to do is very simple with external languages but very hard with both Erlang >> and Javascript. >> >> What I want to do is simply invoke an external script on each element in a >> bucket in the general case so that I can use advanced external tools in an >> arbitrary manner. I was told by someone at Basho a long time ago (about a >> year, which is a long time in internet years) that this could be done by >> invoking scripts from Erlang, but I haven't heard back from him since then >> and was hoping someone on the list could point me at an example >> demonstrating this. >> >> -- >> >> jeffrey k eliasen >> >> Find and follow me on: >> Blog: http://jeff.jke.net >> Twitter: http://twitter.com/jeffreyeliasen >> Facebook: http://facebook.com/jeffrey.eliasen >> >> On Sep 26, 2013, at 10:41 , Luke Bakken <[email protected]> wrote: >> >>> Hi Jeff, >>> >>> Erlang and Javascript are the only two supported "in process" >>> languages for map/reduce. Can you explain the process or provide the >>> python you want to use and perhaps someone on the list could help out >>> translating it to erlang? >>> -- >>> Luke Bakken >>> CSE >>> [email protected] >>> >>> >>> On Wed, Sep 25, 2013 at 4:47 PM, Jeffrey Eliasen <[email protected]> wrote: >>>> I would like to write a job that invokes a python script to execute the >>>> processing of each node in a bucket. I can't find a way to do this using >>>> Javascript and I don't really know Erlang well enough to make this work... >>>> is there a sample piece of code somewhere that demonstrates this? >>>> >>>> Thanks in advance! >>>> >>>> jeff >>>> >>>> _______________________________________________ >>>> 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 >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
