我是 HBase 的新手,我正在尝试按照 Hbase 网站上提到的说明在 Windows 中安装和配置它:
http://hbase.apache.org/cygwin.html
然而,我已经尝试了几次按照所有说明进行操作,但在运行命令时从未成功:./bin/start-hbase.sh
最后出现的错误是:
Pedro@pedrocunha /usr/local/hbase-1.0.1
$ ./bin/start-hbase.sh
cygpath: can't convert empty path
Error: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool
cygpath: can't convert empty path
Error: Could not find or load main class org.apache.hadoop.hbase.zookeeper.ZKServerTool
starting master, logging to C:\cygwin\root\usr\local\hbase-1.0.0/logs/hbase-Pedro-master-pedrocunha.out
cat: C:\cygwin\root\usr\local\hbase-1.0.0/conf/regionservers: No such file or directory
cat: C:\cygwin\root\usr\local\hbase-1.0.0/conf/regionservers: No such file or directory
我使用的Hbase版本是1.0.1。 有谁知道这些说明是否正确?我必须进行更改才能使一切正常工作吗?
最佳答案
正确设置HBASE_HOME属性为HBASE安装目录并检查
设置 HBASE_HOME=/PATH/TO/HBASE
关于windows - HBase配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29990473/