File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Hadoop and the fly likes Hadoop on Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Hadoop
Bookmark "Hadoop on Windows" Watch "Hadoop on Windows" New topic

Hadoop on Windows

Madhumitha Baskaran
Ranch Hand

Joined: Feb 27, 2010
Posts: 66

I have configured Hadoop for Windows Cygwin. I guess configuration is successful. But when I start dfs or mapred,
I get errors like

/usr/local/hadoop/bin/ line 30: pwd: Write error Bad file descriptor
/usr/local/hadoop/bin/ line 35: / No such file or directory
/usr/local/hadoop/bin/ line 38: / No such file or directory

Sometimes its getting started.

If I run bin/hadoop , it is hanging. It is not starting at all.

If I run bin/hadoop hadoop-test.jar, it says "Could be replicated to 0 nodes instead of 1"

Madhumitha Baskaran
Ranch Hand

Joined: Feb 27, 2010
Posts: 66
I also see that

DFS used 100%
DFS remaining 0%

Is it causing any issue here?

I have more space left in my C drive but
Tushar Sudake

Joined: Jan 31, 2013
Posts: 2
I haven't tried this configuration myself ever [Windows + Cygwin + hadoop], but looks like $HADOOP_HOME is missing or not pointing to expected location [i.e. Hadoop installation dir].
I agree. Here's the link:
subject: Hadoop on Windows
jQuery in Action, 3rd edition