Anseh Danesh
Anseh Danesh

Reputation: 633

running a non mapreduce program in hadoop

I have a question.. I have a program write in Netbeans. the program read data from cassandra and write the result into it. My program is not MapReduce at all.I execute the program and make a .jar file from it. now, I want to know if I can execute it in Hadoop? actually, I want to know can I run a non-MapReduce Program in Hadoop?

Upvotes: 1

Views: 1538

Answers (2)

Andre de Miranda
Andre de Miranda

Reputation: 754

This question is ages long but has never been answered. Anyhow, two projects are looking into this issue:

Apache Slider (incubating): http://slider.incubator.apache.org/

and

Apache Myriad (incubating): http://myriad.incubator.apache.org/

Slider is mainly sponsored by Hortonworks while Myriad is a MapR / Mesosphere project with large assistance from PayPal.

Upvotes: 0

Wes Floyd
Wes Floyd

Reputation: 356

You could architect this program to run on Hadoop v2 as a Yarn application. This would require re-architecting your application to fit the Yarn paradigm. An example of how to do this is given here: Writing App Framework on Yarn

This is not a simple exercise. Also, if you are interested in using Hadoop, I would consider simply re-writing your application to use HBase (another No-SQL Columnar database competitor to Cassandra) which is written specifically for Hadoop. It translates your query requests to MapReduce calls automatically.

Upvotes: 2

Related Questions