forward / mandy Goto Github PK
View Code? Open in Web Editor NEWEasy Map/Reduce with Hadoop and Ruby. Also see http://github.com/forward/mandy-lab for examples.
Home Page: mandyruby.pbworks.com
License: Other
Easy Map/Reduce with Hadoop and Ruby. Also see http://github.com/forward/mandy-lab for examples.
Home Page: mandyruby.pbworks.com
License: Other
I cannot seem to find how write a combiner and partitioner. No support yet?
Mandy does not seem to work under on Ruby 1.9.2 I get this error. Under 1.8.7 it's fine.
/Users/jfrolich/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- xml/libxml (LoadError)
from /Users/jfrolich/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/jfrolich/.rvm/gems/ruby-1.9.2-p180/gems/mandy-0.5.26/lib/mandy/ruby-hbase.rb:6:in `<top (required)>'
from /Users/jfrolich/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/jfrolich/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/jfrolich/.rvm/gems/ruby-1.9.2-p180/gems/mandy-0.5.26/lib/mandy.rb:32:in `block in <top (required)>'
from /Users/jfrolich/.rvm/gems/ruby-1.9.2-p180/gems/mandy-0.5.26/lib/mandy.rb:9:in `each'
from /Users/jfrolich/.rvm/gems/ruby-1.9.2-p180/gems/mandy-0.5.26/lib/mandy.rb:9:in `<top (required)>'
from /Users/jfrolich/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in `require'
from /Users/jfrolich/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in `rescue in require'
from /Users/jfrolich/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from square.rb:2:in `<main>'
I've just tried out Mandy and ran into a start up issue that I fixed by installing what I think might be a missing dependency. For reference I was running on OS X with a brand new blank gemset created using rvm and running ree-1.8.7-2010.01.
⚡ gem install mandy
Building native extensions. This could take a while...
Successfully installed json-1.4.6
Successfully installed mandy-0.5.9
2 gems installed
Trying to run the examples throws the following exception:
⚡ mandy-local examples/word_count.rb examples/alice.txt output
/Users/garethr/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- xml/libxml (LoadError)
.....
I then installed the libxml-ruby gem
⚡ gem install libxml-ruby
Building native extensions. This could take a while...
Successfully installed libxml-ruby-1.1.4
1 gem installed
And the example ran successfully.
⚡ mandy-local examples/word_count.rb examples/alice.txt output
Running Word Count...
reporter:status:Processing line: Project Gutenberg's Alice's Adventures in Wonderland, by Lewis Carroll
reporter:counter:Word counting,No. of words processed,1
.....
Mandy looks great by the way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.