This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Hadoop and the fly likes Hadoop and Ruby Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Hadoop
Bookmark "Hadoop and Ruby" Watch "Hadoop and Ruby" New topic
Author

Hadoop and Ruby

Mohamed El-Refaey
Ranch Hand

Joined: Dec 08, 2009
Posts: 119
Can I invoke job workflow in Hadoop from my Ruby Code?

Regards,
Mohamed


Best Regards, Mohamed El-Refaey
www.egyptcloudforum.com
Alex Holmes
Author
Greenhorn

Joined: Oct 19, 2012
Posts: 21
If you're using JRuby then you can invoke the Hadoop API's directly. If you're using a non-JVM language then you'll need to resort to making system calls to invoke the Hadoop scripts.


Author, Hadoop in Practice, http://www.manning.com/holmes/
Blog at http://grepalex.com/
Mohamed El-Refaey
Ranch Hand

Joined: Dec 08, 2009
Posts: 119
Alex Holmes wrote:If you're using JRuby then you can invoke the Hadoop API's directly. If you're using a non-JVM language then you'll need to resort to making system calls to invoke the Hadoop scripts.


can you give me an example of how to resort to make such system calls to invoke the mappers and reducers?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hadoop and Ruby
 
Similar Threads
How much Hadoop knowledge should one have before diving into Pig?
Why learn Ruby ? what's the benefits over other languages ?
Prerequisites for learning hadoop ?
Need help running Java as script (urgent)
what's Hadoop ?