hive schematool: command not found.

t1qtbnec  于 2021-04-03  发布在  Hive
关注(0)|答案(1)|浏览(3880)

我试图在我的ubuntu 19.10的机器上安装hive。我正在使用这个文档https://phoenixnap.com/kb/install-hive-on-ubuntu。正如在步骤6中提到的,在这里我试图启动derby数据库,我在正确的路径下写了命令:~/apache-hive-3.1.2-bin/bin

  1. schematool initSchema dbType derby

但我得到这个错误。
schematool: command not found.
请问我如何解决这个问题?

ugmeyewa

ugmeyewa1#

我之前也有过同样的问题,可能是因为配置文件不对,比如hive-site.xml,hive-env.sh,我的配置文件中的空白导致了这个错误。

相关问题