hadoop on cygwin - DemoWordCount

i want to run this command on Cygwin after building the jar fil cloud9-1.4.14.jar

hadoop jar dist/cloud9-1.4.14.jar edu.umd.cloud9.example.simple.DemoWordCount -input data/bible+shakes.nopunc.gz -output wc -numReducers 1

but it's not working the error on cygwin said it's in the file hadoop-env.sh

What shall i do ?

Answers


I would not try and run Hadoop in Cygwin in windows. Instead I would use the following virtual machine image which has hadoop all set up for you.

http://blog.cloudera.com/blog/2012/08/hadoop-on-your-pc-clouderas-cdh4-virtual-machine/

There are many things you have to do to set up hadoop. It is very hard to figure out what you may not have done. Using the vm image will save you a lot of time.

If you really want Cygwin http://en.wikisource.org/wiki/User:Fkorning/Code/Hadoop-on-Cygwin


Need Your Help

UNIX newbie: shell script not running, command not found

bash shell unix scripting

I am very, very new to UNIX programming (running on MacOSX Mountain Lion via Terminal). I've been learning the basics from a bioinformatics and molecular methods course (we've had two classes) wher...

How to implement chat moderation in AJAX live chat?

php javascript mysql ajax chat

I've made a fairly basic AJAX chat with PHP & MySQL. The chat messages are stored in the MySQL database, and I poll (I know, I know) every few seconds to check for new messages.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.