HBase不能在Windows上以独立模式启动 [英] HBase not starting in standalone mode on Windows

查看:2722
本文介绍了HBase不能在Windows上以独立模式启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows机器上下载了 HBase 1.0.1 ,无法启动。



我收到以下错误讯息:

  C:\用户\admin\下载\hbase-1.0.1> bin \ start-hbase.cmd 
错误:无法找到或加载主类
错误:无法确定启动模式。

这里有什么问题?

解决方案

解决方案

解决方案:找到以下行在hbase.cmd和移除 %HEAP_SETTINGS%

  set java_arguments =%HBASE_OPTS%-classpath%CLASSPATH%%CLASS%%hbase-command-arguments%


I downloaded HBase 1.0.1 on my Windows machine and wasn't able to get it to start.

I got the following error message:

C:\Users\admin\Downloads\hbase-1.0.1>bin\start-hbase.cmd
Error: Could not find or load main class " "
ERROR: Could not determine the startup mode.

What's the problem here?

解决方案

There's a problem in how it is forming the java arguments, specific to the memory options.

Work-around: Find the following line in hbase.cmd and REMOVE %HEAP_SETTINGS%.

set java_arguments=%HBASE_OPTS% -classpath "%CLASSPATH%" %CLASS% %hbase-command-arguments%

这篇关于HBase不能在Windows上以独立模式启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆