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

I installed Hive 0.13.0, which is the current stable release, but when I want to start the hive web interface, I experience an unexpected opportunity to see only my root directory on the Internet under HIVEHOST: 9999 / hwi.

We are looking for hive-hwi-.war, as mentioned in the documentation, I found out that there is no war file in the lib directory.

Perhaps this is a build error? It's funny that there is hive-hwi-.jar that contains the same classes as war, with the exception of JSP. Therefore, I assume that the maven assembly is corrupted.

+4
source share
2 answers

In hive-0.13 there is no hive-hwi-0.13.0.war file

Just download hive-0.12 tar.gz from the 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

hive-0.12.0-bin/lib/hive-hwi-0.12.0.war /usr/lib/hive/lib/ hive hwi

hive --service hwi

:)

, , ant JAVA_HOME, , Ant : javac

5-6 , :)

+4

, ,

, maven . HIVE_HOME untar,

pom.xml <hadoop-20S.version>1.2.1</hadoop-20S.version> hadoop1 edit <hadoop-23.version>2.3.0</hadoop-23.version> hadoop2

,

mvn install -pl hwi -am -P hadoop-1 -DskipTests

pl = mvn

am =

P = , , , hadoop-2

mvn install -pl hwi -P hadoop-1 -DskipTests war:war

, BUILD SUCCESS

HIVE_HOME/hwi/target/

hive-hwi;
+3

Source: https://habr.com/ru/post/1538213/


All Articles