On Dec 27, 2006, at 6:48 PM, youlq wrote:
hi,all:
As we known , now hadoop can't run on windows because of the unix
shell used by ant and DF utility used by DF.java ,I think the unix
shell could be easyly replace with java code or ant script ,And in
Java 6, I find the DF utility can be replace with getUsableSpace()
and getTotalSpace() of java.io.File. Between the two, you can show
how much space
each file system has available and has in total(See the code listed
below). May be the DF class should made to more smart to support
different OS and JDK .
Actually, Hadoop runs fine on Windows, except when someone makes a
mistake. *smile* Under Windows, it requires cygwin. I just updated
the FAQ to include the platform information:
http://wiki.apache.org/lucene-hadoop/FAQ
Java 6 has just been released and I think it is too early to make
Hadoop require Java 6 in order to run. Of course in the long run,
having a pure Java implementation of all of the required
functionality is a very good thing.
-- Owen