This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hadoop and Ruby

 
Mohamed El-Refaey
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I invoke job workflow in Hadoop from my Ruby Code?

Regards,
Mohamed
 
Alex Holmes
Author
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mohamed El-Refaey
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic