【问题标题】:I've installed Hbase but when I type a commmand in cmd "hbase shell" the it shows the following error我已经安装了 Hbase,但是当我在 cmd \"hbase shell\" 中键入命令时,它显示以下错误
【发布时间】:2022-10-25 15:27:01
【问题描述】:

这是我输入“hbase shell”时的错误

*:\hbase-2.5.0\hbase-config.cmd"' is not recognized as an internal or external command, operable program or batch file. \Java\jdk1.8.0_261\lib\tools.jar was unexpected at this time.

当我输入“start-hbase.sh”时出现另一个错误

The file does not have an app associated with it for performing this action. please install and app or if already installed, create an association in the Default Apps setting page

【问题讨论】:

    标签: database apache hadoop hbase


    【解决方案1】:

    好像你在窗户上(如果我错了,请纠正我)。

    您的第一个命令似乎来自安装问题。 shell 似乎找不到hbase-config.cmd。确保您正确遵循了安装说明,并且一切都在应有的位置。

    至于第二个错误,你不能在 windows 上运行 bourne shell 文件(.sh 扩展名)。

    最好链接您在原始问题中遵循的教程/文档,并添加有关您的目录结构的更多信息。

    【讨论】:

    • 您可以在 WSL2 中运行 shell 脚本
    猜你喜欢
    • 1970-01-01
    • 2022-11-20
    • 1970-01-01
    • 1970-01-01
    • 2021-07-15
    • 1970-01-01
    • 2019-10-14
    • 2012-09-01
    • 1970-01-01
    相关资源
    最近更新 更多