搭建hive1.2.1图形界面
2015-11-22 17:04
393 查看
下载: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.0.war -C web .
复制:hive-1.2.1/lib
hive-1.2.1/conf/hive-site.xml添加:
开启服务:hive –service hwi 2> /tmp/hwi2.log &
错误:
原因:jetty编译jsp类时,ant没有识别到正确的jdk路径。
解决:
访问:http://master:9999/hwi/
apache-hive-1.2.1-src.tar
解压,cd apache-hive-1.2.1-src/hwi
命令:jar cfM hive-hwi-1.2.0.war -C web .
复制:hive-1.2.1/lib
hive-1.2.1/conf/hive-site.xml添加:
<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>
开启服务:hive –service hwi 2> /tmp/hwi2.log &
错误:
ERROR compiler.Compiler: Javac exception Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/local/java/jre"
原因:jetty编译jsp类时,ant没有识别到正确的jdk路径。
解决:
ln -s $JAVA_HOME/lib/tools.jar $HIVE_HOME/lib/
访问:http://master:9999/hwi/
相关文章推荐
- 四元数插值matlab实现
- 【Effective C++】构造/析构/赋值运算
- JDBC--批量处理
- socket数据收发
- 搭建hive1.2.1图形界面
- java设计模式之单例模式
- Oracle12c学习(一)---Redhat Enterprise Linux7安装Oracle12c(Oracle11g)
- 谈谈JavaScript类型检测
- 执行带参数的Sql语句(防止注入)
- 开始我的javaweb学习之旅
- [LeetCode]Permutations II
- NYOJ-958山谷(二)【模拟】
- LeetCode 063 Unique Paths II
- Jade之Filters
- 【Effective C++】让自己习惯C++
- Android(13)java中的线程回顾,Android线程,主线程(UI线程)
- 不要去打扰别人的幸福
- Android基础入门教程——9.4 使用MediaRecord录音
- Shader 学究
- 有联系的jQuery选择器