ubuntu16.04安裝hive1.2.1的hwi
阿新 • • 發佈:2019-01-06
下載:apache-hive-1.2.1-src.tar
apache-hive-1.2.1-src.tar
解壓,cd apache-hive-1.2.1-src/hwi
命令:jar cfM hive-hwi-1.2.1.war -C web .
複製到:hive-1.2.1/lib
hive-1.2.1/conf/hive-site.xml新增:
hive-env.sh新增:<property> <name>hive.hwi.listen.host</name> <value>0.0.0.0</value> <description>This is the host address the Hive Web Interface will listen on</description> </property> <property> <name>hive.hwi.listen.port</name> <value>9999</value> <description>This is the host port the Hive Web Interface will listen on</description> </property> <property> <name>hive.hwi.war.file</name> <value>lib/hive-hwi-1.2.1.war</value> <description>This is the WAR file with the jsp content for Hive Web Interface</description> </property>
export HADOOP_HOME=/home/hadoop/app/hadoop
然後把tools.jar(jdk/lib),jasper*.jar,commons-el-1.0.jar放到hive下的lib下。
http://download.csdn.net/detail/zhangge360/9568397
//jasper*.jar下載包中weiyongdao資料夾中jasper.jar不要放到lib下,因為我的加上後報錯。如果你的系統不新增的話報錯,可以試一試新增上。
啟動hadoop.開啟服務hive --service hwi