Attaching a patch to fix Unit Test failures on Windows.
Provide a Windows version for hive.cmd under testdata/hive/bin
Construct paths using File and URL classes rather than string formatting. This takes care of abstracting paths to be OS independent.
Ensure that classpath uses the URL separator '/' rather than the default File seprator '\' on Windows.
Invoke the correct script (hive.cmd vs hive) based on the host OS in HiveImport
Change TestClobRef and TestBlobRef to use "true" for recursive delete, otherwise the directory delete fails on Windows with a "Directory not empty" message.
This change requires a Hadoop version supporting Windows. One way is to have it installed in local cache, and let Sqoop use it as follows:
ant clean test -Dhadoopversion=100 -Dhadoop.version=1.1.0-SNAPSHOT -Dresolvers=internal
I will make sure this is added into the documentation as part of the Documentation Sub task SQOOP-960