zoukankan      html  css  js  c++  java
  • Hive 配置

    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

    <configuration>
    <property>
      <name>hive.metastore.local</name>
      <value>false</value>
    </property>

    <property>
      <name>javax.jdo.option.ConnectionURL</name>
      <value>jdbc:mysql://hadoop23:3306/hive?createDatabaseIfNotExist=true&amp;useUnicode=true&amp;characterEncoding=latin1</value>
    </property>

    <property>
      <name>javax.jdo.option.ConnectionDriverName</name>
      <value>com.mysql.jdbc.Driver</value>
    </property>

    <property>
      <name>javax.jdo.option.ConnectionUserName</name>
      <value>hive</value>
    </property>

    <property>
      <name>javax.jdo.option.ConnectionPassword</name>
      <value>hivepwd</value>
    </property>

    <property>
      <name>hive.stats.dbclass</name>
      <value>jdbc:mysql</value>
    </property>

    <property>
      <name>hive.stats.jdbcdriver</name>
      <value>com.mysql.jdbc.Driver</value>
    </property>

    <property>
      <name>hive.stats.dbconnectionstring</name>
      <value>jdbc:mysql://hadoop23:3306/hive_stats?useUnicode=true&amp;characterEncoding=latin1&amp;user=hive&amp;password=hivepwd&amp;createDatabaseIfNotExist=true</value>
    </property>

    <property>
      <name>hive.stats.dbconnectionstring</name>
      <value>jdbc:mysql://hadoop23:3306/hive_stats?useUnicode=true&amp;characterEncoding=utf8&amp;user=hive&amp;password=hivepwd&amp;createDatabaseIfNotExist=true</value>
    </property>

    <property>
      <name>hive.metastore.uris</name>
      <value>thrift://hadoop23:9083</value>
    </property>

    <property>
      <name>hive.querylog.location</name>
      <value>/data6/hive/${user.name}</value>
      <description>
        Location of Hive run time structured log file
      </description>
    </property>

    <property>
      <name>hive.aux.jars.path</name>
      <value>file:///home/hadoop/hive/lib/hive-hbase-handler-0.10.0.jar,file:///home/hadoop/hbase/hbase-0.94.7.jar,file:///home/hadoop/hbase/lib/zookeeper-3.4.5.jar</value>
    </property>

    <property>
      <name>hbase.zookeeper.quorum</name>
      <value>hb1,hb2,hb3</value>
    </property>

    </configuration>

  • 相关阅读:
    不容易系列之一(错排)
    找新朋友(欧拉函数)
    二分查找
    快速排序(分治)
    归并排序(分治)
    畅通工程(并查集)
    A Knight's Journey (DFS)
    Network Saboteur (DFS)
    Oil Deposits(油田)(DFS)
    Dungeon Master (三维BFS)
  • 原文地址:https://www.cnblogs.com/cl1024cl/p/6205320.html
Copyright © 2011-2022 走看看