hive-site.xml temp
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<!-- Hive Configuration can either be stored in this file or in the hadoop configuration files -->
<!-- that are implied by Hadoop setup variables. -->
<!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive -->
<!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
<!-- resource). -->
<!-- Hive Execution Parameters -->
<property>
<name>hive.metastore.local</name>
<value>false</value>
</property>
<property>
<name>hive.metastore.uris</name>
<value>thrift://localhost:9083</value>
<description>URI of metadata service. Relevant only if remote metaData service is being used.</description>
</property>
<property>
<name>hive.metastore.connect.retries</name>
<value>5</value>
<description>Number of retries while opening a connection to metastore</description>
</property>
<property>
<name>hive.metastore.ds.retry.attempts</name>
<value>0</value>
<description>The number of times to retry a metastore call if there were a connection error</description>
</property>
<property>
<name>hive.metastore.ds.retry.interval</name>
<value>1000</value>
<description>The number of miliseconds between metastore retry attempts</description>
</property>
<property>
<name>hive.hmshandler.retry.attempts</name>
<value>5</value>
<description>The number of times to retry a HMSHandler call if there were a connection error</description>
</property>
<property>
<name>hive.hmshandler.retry.interval</name>
<value>1000</value>
<description>The number of miliseconds between HMSHandler retry attempts</description>
</property>
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/user/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
<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>lib\hive-hwi-0.9.0.war</value>
<description>This is the WAR file with the jsp content for Hive Web Interface</description>
</property>
<property>
<name>hive.server.servermode</name>
<value>tcp</value>
<description>HiveServer server type: tcp or http</description>
</property>
<property>
<name>hive.server2.servermode</name>
<value>http</value>
<description>HiveServer server type: thrift or http</description>
</property>
<property>
<name>hive.server2.thrift.port</name>
<value>10001</value>
<description>HiveServer2 thrift port</description>
</property>
<property>
<name>hive.server2.http.port</name>
<value>10001</value>
<description>HiveServer2 http port</description>
</property>
<property>
<name>hive.server2.http.min.worker.threads</name>
<value>5</value>
<description>HiveServer2 http mode - min worker threads</description>
</property>
<property>
<name>hive.server2.http.max.worker.threads</name>
<value>100</value>
<description>HiveServer2 http mode - max worker threads</description>
</property>
<property>
<name>hive.querylog.location</name>
<value>/home/hive/logs/history</value>
</property>
<property>
<name>hive.log.dir</name>
<value>/home/hive/logs</value>
</property>
</configuration>
댓글
댓글 쓰기