if you add following line in the end of hadoop-config.sh ( available in HADOOP_INSTALL\libexec), it should work.
CLASSPATH='cygpath -wp "$CLASSPATH"'
'cygpath -wp "$CLASSPATH"'
I solved this issue on oracle linux by adding HADOOP_PREFIX=