Pawandeep Singh
Pawandeep Singh

Reputation: 880

Missing Hive Execution Jar Hadoop

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

Upvotes: 1

Views: 4331

Answers (2)

Pawandeep Singh
Pawandeep Singh

Reputation: 880

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.

Upvotes: 1

Aman
Aman

Reputation: 3261

Download the jar manually from this link.. click here

put the jar into /usr/local/Cellar/hive/apache-hive-1.1.1-bin/lib folder.
Check if this solves your problem....

Upvotes: 2

Related Questions