缺少 Hive 执行 Jar Hadoop

Missing Hive Execution Jar Hadoop

我知道这是一个重复问题,但 Whosebug 上的 this link 没有解决我的问题。当我尝试 运行 Hive 时出现以下错误:

 Pawandeep-Singh-2:apache-hive-1.1.1-bin PawandeepSingh1$ bin/hive

 readlink: illegal option -- f

 usage: readlink [-n] [file ...]

 Missing Hive Execution Jar: /usr/local/Cellar/hive/apache-hive-1.1.1-bin/lib/hive-exec-*.jar

我正在使用 Mac OSX Yosemite。谁能告诉我我在这里做错了什么,或者您是否可以从安装 Hive 的地方向教程提供 link。

谢谢..

从这里手动下载 jar link.. click here

将 jar 放入 /usr/local/Cellar/hive/apache-hive-1.1.1-bin/lib 文件夹。
检查这是否解决了您的问题....

感谢我的朋友终于解决了问题,现在蜂巢是运行。实际上,在 Mac 中,您必须使用 .profile 文件来设置配置单元安装的路径,而不是 .bash_profile 或 .bashrc 文件。