缺少Hive执行jar Hadoop [英] Missing Hive Execution Jar Hadoop

查看:206
本文介绍了缺少Hive执行jar Hadoop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

readlink:非法选项 - f

用法:readlink [-n] [文件...]

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

我使用的是Mac OSX Yosemite。任何人都可以告诉我,我在这里做错了什么,或者如果您可以提供从安装Hive的地方到教程的链接。



谢谢..

解决方案

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

I know this is a repeat question but this link on stackoverflow did not solved my problem. When i try to run Hive I get following error :

 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. 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.

Thank you..

解决方案

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.

这篇关于缺少Hive执行jar Hadoop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆