我能够运行localhost:16010。但是,不知何故HBase的外壳不启动,当我使用:无法启动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文件。
立即获取新错误,并在问题中更新。 – Sarang