Hello all

I'm trying to get Hadoop going on my Windows machine without Cygwin. So far, I've sorted out the Java Service Wrapper configurations to run the services necessary for DFS to work:

https://issues.apache.org/jira/browse/HADOOP-1525

The next problem seems to be that DataNode is trying to run the df command, which is rather system specific.

Java 6 added some new methods to handle this issue, but I'm assuming Hadoop wants to stay compatible with older versions of the JDK. In that case, could FileSystemUtils from Commons IO be used instead of the df hack?

http://jakarta.apache.org/commons/io/api-release/index.html?org/apache/commons/io/FileSystemUtils.html

If this looks like a viable solution, I could try to prepare a patch.

Cheers,

Albert

Reply via email to