搭建Hive的圖形介面

來源:互聯網
上載者:User
  • 添加war包到hive的lib目錄:

    下載添加到/usr/lib/hive/lib/hive-hwi-0.9.0-cdh4.1.0.war

  • 添加配置到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 port the Hive Web Interface will listen on</description>

    </property>

     

    <property>

      <name>hive.hwi.war.file</name>

      <value>/usr/lib/hive/lib/hive_hwi.war</value>

      <description>This is the WAR file with the jsp content for Hive Web Interface</description>

    </property>

  • 設定ANT_LIB路徑

            export ANT_LIB=/usr/lib/apache-ant-1.9.0/lib

  • (optional)cp  /usr/java/jdk1.6.0_35/lib/tools.jar /usr/lib/hive/lib/

            Caused by:

            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/java/jdk1.6.0_35/jre"

  • 啟動hwi

    hive --service hwi > hwi.log
    web GUI URL:

    http://192.168.81.176:9999/hwi/

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.