无法启动start-hbase.sh

hmae6n7t  于 2021-06-09  发布在  Hbase
关注(0)|答案(0)|浏览(157)

我在程序文件中安装了java,在windows中安装hbase时,我在c驱动器中重新安装了它。当我尝试启动start-hbase.sh时,它指向旧的路径。我改变了javau的主目录和路径,重新启动了我的机器。这是我双击start-hbase.sh时遇到的错误:
/c/java/hbase-1.1.2/bin/hbase:line 400:/cygdrive/program files/java/jdk1.8.0\u 6 5/bin/java:没有这样的文件或目录/c/java/hbase-1.1.2/bin/hbase:line 400:/cygdrive/program files/java/jdk1.8.0\u 6 5/bin/java:没有这样的文件或目录,登录到c:\java\hbase-1.1.2/logs/hbase--master-tct-nb-j0g606 2.out c:\java\hbase-1.1.2/bin/hbase:line 400:/cygdrive/program files/java/jdk1.8.0\u 6 5/bin/java:没有这样的文件或目录
java安装目录这里是我的路径:
c:\programdata\oracle\java\javapath;c:\程序文件\git\bin;c:\java\jdk1.8.0\u 66\bin;c:\cygwin64\bin;c:\apache-maven-3.3.9\bin;c:\协议;c:\program files\mysql\mysql server 5.7\bin;c:\program files(x86)\intel\icls客户端\;c:\program files\intel\icls客户端\;%systemroot%\system32;%系统根%;%systemroot%\system32\wbem;%systemroot%\system32\windowspowershell\v1.0\;c:\program files\intel\wifi\bin\;c:\program files\common files\intel\wirelesscommon\;c:\program files\intel\intel(r)管理引擎组件\dal;c:\program files(x86)\intel\intel(r)management engine components\dal;c:\program files\intel\intel(r)管理引擎组件\ipt;c:\program files(x86)\intel\intel(r)management engine components\ipt;%用户配置文件%.dnx\bin;c:\program files\microsoft dnx\dnvm\;c:\program files(x86)\mysql\mysql fabric 1.5和mysql utilities 1.5\;c:\program files(x86)\mysql\mysql fabric 1.5和mysql utilities 1.5\php扩展;c:\program files\mercurial;c:\go\bin;c:\程序文件\curl\bin;c:\program files(x86)\skype\phone\;c:\program files\microsoft windows性能工具包
这是我尝试使用./start-hbase.sh命令启动hbase时遇到的错误:
cygpath:无法转换空路径错误:无法找到或加载主类org.apache.hadoop.hbase.util.hbaseconftool cygpath:无法转换空路径错误:无法找到或加载主类org.apache.hadoop.hbase.zookeeper.zkservertool启动主机,登录到c:\java\hbase-1.1.2/logs/hbase ta mx+user(9402)-master-tct-nb-j0g6062.out cygpath:无法转换空路径错误:找不到或加载主类org.apache.hadoop.hbase.master.hmaster启动区域服务器,登录到c:\java\hbase-1.1.2/logs/hbase ta mx+user(9402)-1-regionserver-tct-nb-j0g6062.out cygpath:无法转换空路径错误:找不到或加载主类org.apache.hadoop.hbase.regionserver.hregionserver
我在其他stackoverflow链接中看到了第二部分,但是这些解决方案对我不起作用(比如设置unix路径和使用引号)

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题