我是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。有人知道这些说明是否正确吗?我必须改变,以便一切正常工作?
1条答案
按热度按时间nzkunb0c1#
将hbase\u home属性正确设置为hbase安装目录并检查
将hbase\u home=/path/设置为/hbase