【发布时间】:2017-02-13 10:58:06
【问题描述】:
我可以让 localhost:16010 运行。但是,不知何故,当我使用 Hbase shell 时没有启动:
01HW993798:bin tcssig$ cd /Users/tcssig/Downloads/hbase-1.0.3/bin
01HW993798:bin tcssig$ hbase shell
-bash: hbase: command not found
当我直接启动 Hbase Unix 可执行文件时,它会生成以下错误日志。
Error: JAVA_HOME is not set
虽然我已经设置好了。仅在此之后,localhost:16010 正在运行。
注意:我知道有一个类似的问题,但那里没有相关答案。
使用这个我可以调用命令,但现在它给出了错误:
./hbase: line 403: /Users/tcssig/Downloads/hbase-
1.0.3/bin/JAVA_HOME:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Cont``ents/Home/bin/java: No such file or directory
虽然我那里有 java 文件。
【问题讨论】: