zoukankan      html  css  js  c++  java
  • hive web界面管理

     老版本使用

    访问<Hive Server Address>:9999/hwi

    1、首先下载对应版本的src文件,本机使用apache-hive-1.2.2-src.tar.gz

    2、解压缩 tar -zxvf apache-hive-1.2.2-src.tar.gz

    3、进入到解压缩之后的文件中去 cd apache-hive-1.2.2-src

    4、cd hwi
    5、jar cvfM0 hive-hwi-1.2.2.war -C web/ .
    6、sudo cp hive-hwi-1.2.2.war /opt/apache-hive-1.2.2-bin/lib
    7、修改hive-site.xml文件
          https://cwiki.apache.org/confluence/display/Hive/HiveWebInterface

    <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 port the Hive Web Interface will listen on</description>
    </property>
     
    <property>
      <name>hive.hwi.war.file</name>
      <value>${HIVE_HOME}/lib/hive-hwi-<version>.war</value>
      <description>This is the WAR file with the jsp content for Hive Web Interface</description>
    </property>

    8、拷贝jdk的tools.jar包到hive/lib下

    sudo cp /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar /opt/apache-hive-1.2.2-bin/lib
    9、hive --service hwi

     

  • 相关阅读:
    UIView添加手势
    UIView常见属性设置汇总
    关于页面传值
    有关segue的简介
    alloc
    如何定义静态方法
    一座小城
    清明
    开通博客
    iOS学习之界面间传值
  • 原文地址:https://www.cnblogs.com/ggzhangxiaochao/p/9219870.html
Copyright © 2011-2022 走看看