sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suhas Satish <suhas.sat...@gmail.com>
Subject sqoop on windows - scripts support for cygwin
Date Tue, 13 Aug 2013 00:01:36 GMT
Is there any plan to support bin/sqoop
and bin/configure-sqoop scripts to support running on windows (cygwin)

The change I  foresee is simple enough to export classpath and other
environment variables using a conditional flag switch like follows -

# cygwin path translation
if $cygwin; then
    CLASSPATH=`cygpath -p -w "$CLASSPATH"`

I see the sqoop release documentation mentioning as follows -
This document assumes you are using a Linux or Linux-like environment. If
you are using Windows, you may be able to use cygwin to accomplish most of
the following tasks. If you are using Mac OS X, you should see few (if any)
compatibility errors. Sqoop is predominantly operated and tested on Linux.

Are there any other considerations which I'm overlooking?

The reason I ask is because I think that sqoop jar is not added to
HADOOP_CLASSPATH correctly while running on windows. bin/configure-sqoop
which does the environment variable export maybe the culprit.


View raw message