Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hive 0.13.0 - Where is the hive-hwi-.war file?

Tags:

hive

I have installed Hive 0.13.0 which is the current stable release but when I want to start the hive web interface I experience the unexpected possibility to only see my root dir in the web under HIVEHOST:9999/hwi.

Looking for the hive-hwi-.war as it is mentioned in the documentation I found out that there is absolutely no war file in the lib directory.

Might it be a build error? Funny thing is that there is a hive-hwi-.jar which contains the same classes as the war should except the JSPs. So I guess the maven build is messed up.

like image 718
padmalcom Avatar asked Mar 20 '23 18:03

padmalcom


1 Answers

There is no hive-hwi-0.13.0.war file in hive-0.13

Just download hive-0.12 tar.gz from apache website

wget http://archive.apache.org/dist/hive/hive-0.12.0/hive-0.12.0-bin.tar.gz

tar -zxvf hive-0.12.0-bin.tar.gz

Now copy hive-0.12.0-bin/lib/hive-hwi-0.12.0.war to /usr/lib/hive/lib/ and restart hive hwi as

hive --service hwi

Cheers:) It works

Now if you face issue related to ant and JAVA_HOME then please refer Ant build not working: unable to find a javac compiler

It took my 5-6 hours but working smoothly now :)

like image 181
minhas23 Avatar answered Apr 02 '23 21:04

minhas23