Closed deivinsontejeda closed 11 years ago
Thanks for reporting this. With that change I guess it can be difficult to support both 1.0.3 and 2.0.0. If you want to make a patch I would welcome it, otherwise you'll have to wait for Amazon to support Hadoop 2.0 in EMR -- running on EMR is basically my reason for creating and maintaining Rubydoop, but I'd appreciate any help I can get supporting other versions (I haven't even tested with CDH).
I implemented a simple work around, which moves some code from InstanceContainer
to MapperProxy
and ReducerProxy
, since the Mapper.Context
and Reducer.Context
still seem to be classes in 2.0.0. With that, I was able to run the specs in 2.0.4 (and 1.0.3, obviously).
Feel free to try out the hadoop_204 branch (unfortunately, you'll have to build it yourself). https://github.com/iconara/rubydoop/commits/hadoop_204
@grddev Thank you, I'll testing and notify you how about going to me.
Hi @grddev,
Do you have some path to follow to build rubydoop.jar?
Ignore my previous comment, I've just seen a rake task into project, sorry by noise
Check out the code, then run rake build
, followed by gem build rubydoop.gemspec
, you'll then have a rubydoop-vX.Y.Z.gem
which you can install with Rubygems (just put it in the working directory and run gem install rubydoop
-- Rubygems picks .gem files in the working directory over gems on rubygems.org).
You probably want to change lib/rubydoop/version.rb
to not mix up the version with an official release.
@iconara thank you a lot.
@iconara Do you have some example of .classpath
file that you are using for?
I do this:
hadoop classpath > .classpath
On 19 jul 2013, at 20:59, Deivinson Tejeda notifications@github.com wrote:
@iconara Do you have some example of .classpath file that you are using for?
— Reply to this email directly or view it on GitHub.
Finally, I could build Rubydoop with support for Hadoop 2.0.x, works fine kudos guys :dancers:
I'll publish a post with idea if someone needs to do this exists a recipe.
Hi @iconara
First at all amazing job with this gem, kudos man.
Come to here to report that Hadoop in its version 2.0.4 change the MapReduce API and Rubydoop failed when running on it.
Here trace
Basically.
Perhaps you know that Hadoop 2.0.x come with great advance features (like YARN), would be great