There might be some problem in converting Unix style paths to a Windows style path on cygpath or the path is actually empty. Remember, cygpath is a cygwin utility that converts unix-style file paths to Windows-style file paths and vice versa. I personally do not trust this completely. Therefore, please make sure that you do not encounter these problems. For smooth operation, I would like to offer a couple of things:
- Change the line # export HBASE_CLASSPATH = in the hbase-env.sh file to suit your environment: export HBASE_CLASSPATH = / cygdrive / c / programs / hbase-0.90.4 / lib /
- The hbase.rootdir property in your hbse-site.xml matches your cygwin environment: Something like the file: /// C: / cygwin / root / tmp / hbase / data strong>
Somehow I feel that using Hadoop / HBase on windows is always a pain. You can avoid these problems by providing yourself with a Linux box (if possible) or by using some kind of virtual machine.
NTN
R. S .: Does your Hadoop work fine (if you have one)?
Edit:
Add these lines to the hbase file in the hbase-0.90.4 / bin directory , if not:
# 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 old versions right now with me so I can double-check.
Tariq source share