简体   繁体   English

缺少Hive Execution Jar Hadoop

[英]Missing Hive Execution Jar Hadoop

I know this is a repeat question but this link on stackoverflow did not solved my problem. 我知道这是一个重复的问题,但stackoverflow上的这个链接并没有解决我的问题。 When i try to run Hive I get following error : 当我尝试运行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

I am using Mac OSX Yosemite. 我正在使用Mac OSX Yosemite。 Can anyone tell me what I am doing wrong here or if you could provide the link to the tutorial from where you installed Hive. 任何人都可以告诉我我在这里做错了什么,或者你是否可以从你安装Hive的地方提供教程的链接。

Thank you.. 谢谢..

Download the jar manually from this link.. click here 从这个链接手动下载jar .. 点击这里

put the jar into /usr/local/Cellar/hive/apache-hive-1.1.1-bin/lib folder. 将jar放入/usr/local/Cellar/hive/apache-hive-1.1.1-bin/lib文件夹中。
Check if this solves your problem.... 检查这是否解决了您的问题....

Thanks finally my friend solved the problem and now hive is running. 谢谢,最后我的朋友解决了问题,现在蜂巢正在运行。 Actually in Mac you have to use .profile file to set the path for hive installation instead of .bash_profile or .bashrc files. 实际上在Mac中你必须使用.profile文件来设置hive安装的路径,而不是.bash_profile或.bashrc文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM