hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Moore" <jamesthepi...@gmail.com>
Subject Re: Bean Scripting Framework?
Date Thu, 24 Jul 2008 22:42:24 GMT
Funny you should mention it - I'm working on a framework to do JRuby
Hadoop this week.  Something like:

class MyHadoopJob < Radoop
  input_format :text_input_format
  output_format :text_output_format
  map_output_key_class :text
  map_output_value_class :text

  def mapper(k, v, output, reporter)
    # ...

  def reducer(k, vs, output, reporter)

Plus a java glue file to call the Ruby stuff.

And then it jars up the ruby files, the gem directory, and goes from there.

James Moore | james@restphone.com
Ruby and Ruby on Rails consulting

View raw message