I suppose I could just use os:cmd from Erlang, but I've never worked with this 
before: http://www.erlang.org/doc/man/os.html. Does anyone know if this should 
be expected to work?

Thanks!

-- 

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 20:01 , jeffrey k eliasen <j...@jke.net> wrote:

> 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 <russell.br...@mac.com> 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 <j...@jke.net> 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 <lbak...@basho.com> 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
>>>> lbak...@basho.com
>>>> 
>>>> 
>>>> On Wed, Sep 25, 2013 at 4:47 PM, Jeffrey Eliasen <j...@jke.net> 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
>>>>> riak-users@lists.basho.com
>>>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>>>> 
>>> 
>>> _______________________________________________
>>> riak-users mailing list
>>> riak-users@lists.basho.com
>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>> 
> 

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to