Reputation: 1633
I hope somebody can help me with this problemoo:
Starting hbase, I get this error:
$ ./start-hbase.sh
cygpath: can't convert empty path
cygpath: can't convert empty path
soporte@localhost's password:
localhost: starting zookeeper, logging to /usr/local/hbase-0.90.4/bin/../logs/hbase-CNEOSYLAP-zookeeper-CNEOSYLAP.out
localhost: cygpath: can't convert empty path
starting master, logging to /usr/local/hbase-0.90.4/bin/../logs/hbase-CNEOSYLAP-master-CNEOSYLAP.out
cygpath: can't convert empty path
soporte@localhost's password:
localhost: starting regionserver, logging to /usr/local/hbase-0.90.4/bin/../logs/hbase-CNEOSYLAP-regionserver-CNEOSYLAP.out
localhost: cygpath: can't convert empty path
This error only happens with hbase-0.90.4 and hbase-0.90.6 but is not happening with hbase-0.94.9. I am using Windows 7 x64 and CygWin setup 2.774.
Note 1 : I was following instructions from Installing HBase on Windows and here Note 2 : It is important to me setting up hbase-0.90.X because later i will use Nutch 2.2.1
Thanks
Upvotes: 5
Views: 10647
Reputation: 34184
Perhaps some problem in the conversion of unix style paths into windows style path by cygpath or the path is actually empty. Remember cygpath is a cygwin utility that converts unix style file paths into windows style file paths, and vice versa. I personally don't trust this completely. So, please make sure that you are not facing those kinda issues. For a smooth functioning, I would like to suggest a couple of things though :
Somehow I feel that using Hadoop/HBase on windows is always a pain. You can avoid these problems by getting yourself a Linux box(if possible) or make use of some VM.
HTH
P. S. : Is your Hadoop running fine(if you have it)?
Edit :
Add these lines in you hbase file under hbase-0.90.4/bin directory, if not present :
# cygwin path translation
if $cygwin; then
CLASSPATH=`cygpath -p -w "$CLASSPATH"`
HBASE_HOME=`cygpath -d "$HBASE_HOME"`
HBASE_LOG_DIR=`cygpath -d "$HBASE_LOG_DIR"`
I do not have older releases right now with me so that I can crosscheck.
Upvotes: 2